Xqt created this task.
Xqt added projects: Pywikibot, Pywikibot-tests.
Restricted Application added subscribers: pywikibot-bugs-list, Aklapper.
TASK DESCRIPTION
C:\pwb\GIT\core>py -3.13 -m pwb -lang:en file_tests -v
TestSharedFiles.test_non_file_local
tests: max_retries reduced from 15 to 3
test_non_file_local (__main__.TestSharedFiles.test_non_file_local)
Test file page, without local file, existing on the local wiki. ... FAIL
======================================================================
FAIL: test_non_file_local (__main__.TestSharedFiles.test_non_file_local)
Test file page, without local file, existing on the local wiki.
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\pwb\GIT\core\tests\file_tests.py", line 149, in
test_non_file_local
self.assertEqual(testwp_file.get_file_url(),
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
commons_file.get_file_url())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: 'http[59
chars]1.JPG?utm_source=test.wikipedia.org&utm_campai[29 chars]inal' != 'http[59
chars]1.JPG'
-
https://upload.wikimedia.org/wikipedia/commons/5/55/Sepp_Maier_1.JPG?utm_source=test.wikipedia.org&utm_campaign=imageinfo&utm_content=original
+ https://upload.wikimedia.org/wikipedia/commons/5/55/Sepp_Maier_1.JPG
----------------------------------------------------------------------
Ran 1 test in 4.521s
FAILED (failures=1)
TASK DETAIL
https://phabricator.wikimedia.org/T420827
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
_______________________________________________
pywikibot-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]