Xqt created this task.
Herald added subscribers: pywikibot-bugs-list, Zppix, Aklapper.
TASK DESCRIPTION
with deactivated `unittest.expectedFailure` decorator
`TestXMLPageGenerator.test_match_unnecessary_template_prefix` ("""Test pages
with {{template:..}}.""") fails
C:\pwb\GIT\core>pwb.py tests/template_bot_tests -v
TestXMLPageGenerator.test_mat
ch_unnecessary_template_prefix
tests: max_retries reduced from 25 to 1
test_match_unnecessary_template_prefix (__main__.TestXMLPageGenerator)
Test pages with {{template:..}}. ... FAIL
======================================================================
FAIL: test_match_unnecessary_template_prefix (__main__.TestXMLPageGenerator)
Test pages with {{template:..}}.
----------------------------------------------------------------------
Traceback (most recent call last):
File ".\tests\template_bot_tests.py", line 124, in
test_match_unnecessary_temp
late_prefix
self.assertEqual(len(pages), 1)
AssertionError: 0 != 1
----------------------------------------------------------------------
Ran 1 test in 0.009s
FAILED (failures=1)
Either this should be solved or the test should be modified.
TASK DETAIL
https://phabricator.wikimedia.org/T134676
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Xqt
Cc: Aklapper, Zppix, Xqt, pywikibot-bugs-list, Mdupont, jayvdb
_______________________________________________
pywikibot-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs