Page MenuHomePhabricator

Solve expectedFailure for site_generators_tests
Closed, ResolvedPublicBUG REPORT

Description

TestSiteGeneratorsUsers.test_allusers_with_group() is marked as expectedFailure. previously the test was deactivated since
rPWBCf5998611 The reason is that with the path listed above the generator was changed from site.allusers(prefix="D", group="sysop", total=5) site.allusers(prefix='D', group='bot', total=5). The group request was changed from sysop to bot but the test was not changed accordingly and died not found any sysop in the given group.

Event Timeline

Xqt changed the task status from Open to In Progress.Apr 30 2023, 9:15 AM
Xqt claimed this task.
Xqt triaged this task as High priority.

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

[pywikibot/core@master] [test] Fix test_allusers_with_group tests/site_generators_tests.py

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

Change 913654 merged by Xqt:

[pywikibot/core@master] [test] Fix test_allusers_with_group tests/site_generators_tests.py

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