Xqt created this task.
Xqt added projects: Pywikibot, Pywikibot-tests.
Restricted Application added subscribers: pywikibot-bugs-list, Aklapper.

TASK DESCRIPTION
    ____________________ TestUpload.test_continue_filekey_once 
_____________________
    
    self = <tests.upload_tests.TestUpload testMethod=test_continue_filekey_once>
    
        def test_continue_filekey_once(self):
            """Test continuing to upload a file without using chunked mode."""
    >       self._test_continue_filekey(0)
    
    tests/upload_tests.py:111: 
    _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
_ _ 
    tests/upload_tests.py:99: in _test_continue_filekey
        self._init_upload(chunk_size)
    tests/upload_tests.py:72: in _init_upload
        ignore_warnings=warn_callback)
    pywikibot/site/_decorators.py:93: in callee
        return fn(self, *args, **kwargs)
    pywikibot/site/_apisite.py:3023: in upload
        return Uploader(self, filepage, **kwargs).upload()
    pywikibot/site/_upload.py:134: in upload
        return self._upload(self.ignore_warnings, self.report_success)
    pywikibot/site/_upload.py:439: in _upload
        report_success, file_key)
    pywikibot/site/_upload.py:485: in submit
        file_key)):
    tests/upload_tests.py:52: in warn_callback
        self.assertCountEqual([w.code for w in warnings], expected_warns)
    E   AssertionError: Element counts were not equal:
    E   First has 1, Second has 0:  'duplicate-archive'
    E   First has 1, Second has 0:  'nochange'
    E   First has 1, Second has 0:  'duplicateversions'

TASK DETAIL
  https://phabricator.wikimedia.org/T367314

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Xqt
Cc: Aklapper, XZise, Xqt, pywikibot-bugs-list, mevo, PotsdamLamb, Jyoo1011, 
JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, Aram, Viztor, Wenyi, Tbscho, 
MayS, Mdupont, JJMC89, Dvorapa, Altostratus, binbot, Avicennasis, mys_721tx, 
jayvdb, Masti, Alchimista
_______________________________________________
pywikibot-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to