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
pywikibot-commits@lists.wikimedia.org