Page MenuHomePhabricator

test_self_thank method of thanks_tests.TestThankRevision fails with AttributeError: 'TestThankRevision' object has no attribute 'get_userpage'
Closed, ResolvedPublic

Description

16:21:41 ======================================================================
16:21:41 ERROR: test_self_thank (tests.thanks_tests.TestThankRevision)
16:21:41 Test that thanking oneself causes an error.
16:21:41 ----------------------------------------------------------------------
16:21:41 Traceback (most recent call last):
16:21:41   File "/src/tests/thanks_tests.py", line 63, in test_self_thank
16:21:41     my_name = self.get_userpage().username
16:21:41 AttributeError: 'TestThankRevision' object has no attribute 'get_userpage'

https://integration.wikimedia.org/ci/job/pywikibot-core-tox-deeptest-py36-docker/106/console

Event Timeline

Xqt triaged this task as High priority.May 11 2021, 2:28 PM

Change 689079 had a related patch set uploaded (by Xqt; author: Xqt):

[pywikibot/core@master] [bugfix] Enable get_userpage() with TestCase

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

Change 689079 merged by jenkins-bot:

[pywikibot/core@master] [bugfix] Enable get_userpage() with TestCase

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

Xqt claimed this task.