jenkins-bot has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/801699 )
Change subject: [tests] APISite.upload does not have _file_key or _offset parameters ......................................................................
[tests] APISite.upload does not have _file_key or _offset parameters
Change-Id: I4b88f165779ef5ac246a7fcc145a25a9ce1a5369 --- M tests/upload_tests.py 1 file changed, 1 insertion(+), 2 deletions(-)
Approvals: Xqt: Looks good to me, approved jenkins-bot: Verified
diff --git a/tests/upload_tests.py b/tests/upload_tests.py index 77740ce..21df832 100755 --- a/tests/upload_tests.py +++ b/tests/upload_tests.py @@ -90,8 +90,7 @@ page = pywikibot.FilePage(self.site, 'MP_sounds-pwb.png') self.site.upload(page, source_filename=file_name, comment='pywikibot test', chunk_size=chunk_size, - ignore_warnings=True, report_success=False, - _file_key=self._file_key, _offset=self._offset) + ignore_warnings=True, report_success=False)
def _test_continue_filekey(self, chunk_size): """Test uploading a chunk first and finish in a separate upload."""
pywikibot-commits@lists.wikimedia.org