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."""

--
To view, visit https://gerrit.wikimedia.org/r/c/pywikibot/core/+/801699
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.wikimedia.org/r/settings

Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: I4b88f165779ef5ac246a7fcc145a25a9ce1a5369
Gerrit-Change-Number: 801699
Gerrit-PatchSet: 1
Gerrit-Owner: Xqt <[email protected]>
Gerrit-Reviewer: Xqt <[email protected]>
Gerrit-Reviewer: jenkins-bot
Gerrit-MessageType: merged
_______________________________________________
Pywikibot-commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to