public inbox for [email protected]  
help / color / mirror / Atom feed
[pgAdmin]: Fix for kerberos test cases.
2+ messages / 2 participants
[nested] [flat]

* [pgAdmin]: Fix for kerberos test cases.
@ 2021-01-19 07:00  Nikhil Mohite <[email protected]>
  0 siblings, 1 reply; 2+ messages in thread

From: Nikhil Mohite @ 2021-01-19 07:00 UTC (permalink / raw)
  To: pgadmin-hackers

Hi Team,

Please find the patch to fix the failing test cases.


-- 
*Thanks & Regards,*
*Nikhil Mohite*
*Software Engineer.*
*EDB Postgres* <https://www.enterprisedb.com/;
*Mob.No: +91-7798364578.*


Attachments:

  [application/octet-stream] test_case_fix.patch (889B, 3-test_case_fix.patch)
  download | inline diff:
diff --git a/web/pgadmin/browser/tests/test_kerberos_with_mocking.py b/web/pgadmin/browser/tests/test_kerberos_with_mocking.py
index f87ce552..0acc71c9 100644
--- a/web/pgadmin/browser/tests/test_kerberos_with_mocking.py
+++ b/web/pgadmin/browser/tests/test_kerberos_with_mocking.py
@@ -91,7 +91,7 @@ class KerberosLoginMockTestCase(BaseTestGenerator):
 
     def tearDown(self):
         self.app.PGADMIN_EXTERNAL_AUTH_SOURCE = 'ldap'
-        self.tester.logout()
+        # self.tester.logout()
 
     @classmethod
     def tearDownClass(cls):
@@ -99,6 +99,6 @@ class KerberosLoginMockTestCase(BaseTestGenerator):
         We need to again login the test client as soon as test scenarios
         finishes.
         """
-        cls.tester.logout()
+        # cls.tester.logout()
         app_config.AUTHENTICATION_SOURCES = ['internal']
         utils.login_tester_account(cls.tester)


^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: [pgAdmin]: Fix for kerberos test cases.
@ 2021-01-19 08:11  Akshay Joshi <[email protected]>
  parent: Nikhil Mohite <[email protected]>
  0 siblings, 0 replies; 2+ messages in thread

From: Akshay Joshi @ 2021-01-19 08:11 UTC (permalink / raw)
  To: Nikhil Mohite <[email protected]>; +Cc: pgadmin-hackers

Thanks, patch applied.

On Tue, Jan 19, 2021 at 12:30 PM Nikhil Mohite <
[email protected]> wrote:

> Hi Team,
>
> Please find the patch to fix the failing test cases.
>
>
> --
> *Thanks & Regards,*
> *Nikhil Mohite*
> *Software Engineer.*
> *EDB Postgres* <https://www.enterprisedb.com/;
> *Mob.No: +91-7798364578.*
>


-- 
*Thanks & Regards*
*Akshay Joshi*
*pgAdmin Hacker | Principal Software Architect*
*EDB Postgres <http://edbpostgres.com>*

*Mobile: +91 976-788-8246*


^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2021-01-19 08:11 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2021-01-19 07:00 [pgAdmin]: Fix for kerberos test cases. Nikhil Mohite <[email protected]>
2021-01-19 08:11 ` Akshay Joshi <[email protected]>

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox