jenkins-bot has submitted this change and it was merged. ( https://gerrit.wikimedia.org/r/572877 )
Change subject: [bugfix] Fix TestDeletionBot missing user ......................................................................
[bugfix] Fix TestDeletionBot missing user
After replacement of "test" family with "wikipedia" family in tests, this error is thrown. Load user for the test to make it pass.
It seems this is caused by the fact `delete` now checks for user rights, which needs user to be provided. Weird enough test family worked well, there was some issue with test family user in tests as well.
Bug: T244027 Change-Id: Ic084b025ac2ec8d0457ed4fb0d942cc17ca16024 --- M tests/deletionbot_tests.py 1 file changed, 1 insertion(+), 0 deletions(-)
Approvals: Xqt: Looks good to me, approved jenkins-bot: Verified
diff --git a/tests/deletionbot_tests.py b/tests/deletionbot_tests.py index 2e111ee..4709825 100644 --- a/tests/deletionbot_tests.py +++ b/tests/deletionbot_tests.py @@ -85,6 +85,7 @@ code = 'test'
cached = True + user = True
delete_args = [] undelete_args = []
pywikibot-commits@lists.wikimedia.org