Xqt created this task.
Xqt added projects: Pywikibot, Pywikibot-tests.
Restricted Application added subscribers: pywikibot-bugs-list, Aklapper.
TASK DESCRIPTION
======================================================================
FAIL: test_review_check_revisions
(tests.flaggedrevs_tests.TestBasePageReview)
Test exceptions.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/runner/work/pywikibot/pywikibot/pywikibot/page/_basepage.py",
line 639, in _check_revision
self.get_revision(revid, force=refresh)
File "/home/runner/work/pywikibot/pywikibot/pywikibot/page/_basepage.py",
line 479, in get_revision
self.site.loadrevisions(self, content=content, revids=oldid)
File
"/home/runner/work/pywikibot/pywikibot/pywikibot/site/_generators.py", line
889, in loadrevisions
raise InconsistentTitleError(page, pagedata['title'])
pywikibot.exceptions.InconsistentTitleError: Query on
[[wikipedia:test2:BTP]] returned data on 'Brazil'
The above exception was the direct cause of the following exception:
ValueError: Revision 4711 does not belong to [[wikipedia:test2:BTP]]
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/runner/work/pywikibot/pywikibot/tests/flaggedrevs_tests.py",
line 313, in test_review_check_revisions
self.flagged.review(revid=4711)
AssertionError: "Revision 4711 does not belong to \[\[test2:BTP\]\]" does
not match "Revision 4711 does not belong to [[wikipedia:test2:BTP]]"
TASK DETAIL
https://phabricator.wikimedia.org/T435024
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
_______________________________________________
pywikibot-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]