jenkins-bot has submitted this change and it was merged.
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(-)
Approvals:
Xqt: Looks good to me, approved
jenkins-bot: Verified
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: merged
Gerrit-Change-Id: I324e65c2139d59b2c0e079ffe98df9b6131e1a48
Gerrit-PatchSet: 1
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Owner: XZise <[email protected]>
Gerrit-Reviewer: John Vandenberg <[email protected]>
Gerrit-Reviewer: Ladsgroup <[email protected]>
Gerrit-Reviewer: Xqt <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits