Xqt created this task.
Xqt added projects: Pywikibot, Pywikibot-tests.
Restricted Application added subscribers: pywikibot-bugs-list, Stang, Aklapper.
TASK DESCRIPTION
11:46:36
======================================================================
11:46:36 FAIL: test_translate_zhwikisource
(tests.titletranslate_tests.TestTitleTranslate)
11:46:36 Test translate method on wikisource:zh
11:46:36
----------------------------------------------------------------------
11:46:36 Traceback (most recent call last):
11:46:36 File "/src/tests/aspects.py", line 856, in wrapped_method
11:46:36 func(self, key)
11:46:36 File "/src/tests/titletranslate_tests.py", line 40, in
test_translate
11:46:36 self.assertLength(result, 6)
11:46:36 File "/src/tests/aspects.py", line 273, in assertLength
11:46:36 self.fail(msg)
11:46:36 AssertionError: len([pywikibot.page.Link('首页', APISite('en',
'wikisource')), pywikibot.page.Link('首页', APISite('de', 'wikisource')),
pywikibot.page.Link('首页', APISite('nl', 'wikisource')),
pywikibot.page.Link('首页', APISite('fr', 'wikisource')),
pywikibot.page.Link('首页', APISite('pl', 'wikisource'))]): 5 != 6
11:46:36
Probably the language_by_size result was changed
TASK DETAIL
https://phabricator.wikimedia.org/T425338
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
_______________________________________________
pywikibot-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]