jenkins-bot has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/548959 )

Change subject: [bugfix] Call OauthLoginManager with keyword arguments
......................................................................

[bugfix] Call OauthLoginManager with keyword arguments

Bug: T237501
Change-Id: I0ae44a470f2fab303b1fe69cdda58e56eeb83017
---
M tests/oauth_tests.py
1 file changed, 3 insertions(+), 2 deletions(-)

Approvals:
  Huji: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/tests/oauth_tests.py b/tests/oauth_tests.py
index 996d14e..cc44abd 100644
--- a/tests/oauth_tests.py
+++ b/tests/oauth_tests.py
@@ -59,8 +59,9 @@
     """Test OAuth login manager."""

     def _get_login_manager(self):
-        login_manager = OauthLoginManager(self.consumer_token[1], False,
-                                          self.site, self.consumer_token[0])
+        login_manager = OauthLoginManager(password=self.consumer_token[1],
+                                          site=self.site,
+                                          user=self.consumer_token[0])
         # Set access token directly, discard user interaction token fetching
         login_manager._access_token = self.access_token
         return login_manager

--
To view, visit https://gerrit.wikimedia.org/r/548959
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.wikimedia.org/r/settings

Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I0ae44a470f2fab303b1fe69cdda58e56eeb83017
Gerrit-Change-Number: 548959
Gerrit-PatchSet: 1
Gerrit-Owner: Xqt <[email protected]>
Gerrit-Reviewer: Huji <[email protected]>
Gerrit-Reviewer: VcamX <[email protected]>
Gerrit-Reviewer: jenkins-bot (75)
_______________________________________________
Pywikibot-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-commits

Reply via email to