jenkins-bot has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/689079 )
Change subject: [bugfix] Enable get_userpage() with TestCase ......................................................................
[bugfix] Enable get_userpage() with TestCase
TestCase has mixins which provides several methods. To enable get_userpage() the RequireLoginMixin must be activated which can be done with login = True
Bug: T282570 Change-Id: Idb762c93ebcf1b20d39f292eaecaac00919538e8 --- M tests/thanks_tests.py 1 file changed, 1 insertion(+), 0 deletions(-)
Approvals: Happy5214: Looks good to me, but someone else must approve Xqt: Looks good to me, approved jenkins-bot: Verified
diff --git a/tests/thanks_tests.py b/tests/thanks_tests.py index fd385db..dda33b7 100644 --- a/tests/thanks_tests.py +++ b/tests/thanks_tests.py @@ -21,6 +21,7 @@ family = 'wikipedia' code = 'test'
+ login = True write = True
def test_thank_revision(self):
pywikibot-commits@lists.wikimedia.org