Fixed API test cases for Kerberose.

This commit is contained in:
Nikhil Mohite 2021-01-19 13:28:55 +05:30 committed by Akshay Joshi
parent 9229156cf6
commit 94d2ad9584

View File

@ -91,7 +91,6 @@ class KerberosLoginMockTestCase(BaseTestGenerator):
def tearDown(self):
self.app.PGADMIN_EXTERNAL_AUTH_SOURCE = 'ldap'
self.tester.logout()
@classmethod
def tearDownClass(cls):
@ -99,6 +98,5 @@ class KerberosLoginMockTestCase(BaseTestGenerator):
We need to again login the test client as soon as test scenarios
finishes.
"""
cls.tester.logout()
app_config.AUTHENTICATION_SOURCES = ['internal']
utils.login_tester_account(cls.tester)