XZise has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/231966

Change subject: [FIX] api_tests: Call super's setUp and tearDown
......................................................................

[FIX] api_tests: Call super's setUp and tearDown

Change-Id: I324e65c2139d59b2c0e079ffe98df9b6131e1a48
---
M tests/api_tests.py
1 file changed, 2 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/pywikibot/core 
refs/changes/66/231966/1

diff --git a/tests/api_tests.py b/tests/api_tests.py
index 822f70a..071be74 100644
--- a/tests/api_tests.py
+++ b/tests/api_tests.py
@@ -879,11 +879,13 @@
     # pywikibot is not connected to a tty. T100964
 
     def setUp(self):
+        super(TestLazyLoginNotExistUsername, self).setUp()
         self.orig_login_manager = pywikibot.data.api.LoginManager
         pywikibot.data.api.LoginManager = FakeLoginManager
 
     def tearDown(self):
         pywikibot.data.api.LoginManager = self.orig_login_manager
+        super(TestLazyLoginNotExistUsername, self).tearDown()
 
     def test_access_denied_notexist_username(self):
         """Test the query with a username which does not exist."""

-- 
To view, visit https://gerrit.wikimedia.org/r/231966
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I324e65c2139d59b2c0e079ffe98df9b6131e1a48
Gerrit-PatchSet: 1
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Owner: XZise <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to