Xqt reopened this task as "Open".
Xqt added a comment.
Tests fails on most wikis outside wikipedia family:
C:\pwb\GIT\core>py -3.13 -m pwb -site:wikisource:zh -user:Pywikibot-test
page_tests -v TestPageUserAction.test_watch
tests: max_retries reduced from 15 to 3
test_watch (__main__.TestPageUserAction.test_watch)
Test Page.watch, with and without unwatch enabled. ... FAIL
======================================================================
FAIL: test_watch (__main__.TestPageUserAction.test_watch)
Test Page.watch, with and without unwatch enabled.
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\pwb\GIT\core\tests\page_tests.py", line 1092, in test_watch
self.assertIn(userpage, userpage.site.watched_pages(**wp_params))
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: User('User:Pywikibot-test') not found in
<pywikibot.data.api._generators.PageGenerator object at 0x000001AB0568AE40>
----------------------------------------------------------------------
Ran 1 test in 6.150s
FAILED (failures=1)
TASK DETAIL
https://phabricator.wikimedia.org/T330839
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
_______________________________________________
pywikibot-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]