jenkins-bot has submitted this change and it was merged.

Change subject: Fix script test for imageharvest simulate
......................................................................


Fix script test for imageharvest simulate

imageharvest uses BeautifulSoup version 3, which is not
installed by setup (T115428).

When BeautifulSoup version 3 is installed, the script test
for imageharvest hangs waiting for input.
Providing a url for the script allows it to load and exit cleanly.

Change-Id: I8f85dae4a2589d5c03fe6151530f13e00e402e90
---
M tests/script_tests.py
1 file changed, 1 insertion(+), 0 deletions(-)

Approvals:
  XZise: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/tests/script_tests.py b/tests/script_tests.py
index 4f58633..090ebc1 100644
--- a/tests/script_tests.py
+++ b/tests/script_tests.py
@@ -94,6 +94,7 @@
     'catall': 'q\n',  # q for quit
     'editarticle': 'Test page\n',
     'imageuncat': 'q\n',
+    'imageharvest': 
'https://upload.wikimedia.org/wikipedia/commons/8/80/Wikipedia-logo-v2.svg\n\n',
     'interwiki': 'Test page that should not exist\n',
     'misspelling': 'q\n',
     'pagefromfile': 'q\n',

-- 
To view, visit https://gerrit.wikimedia.org/r/246126
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I8f85dae4a2589d5c03fe6151530f13e00e402e90
Gerrit-PatchSet: 2
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Owner: John Vandenberg <[email protected]>
Gerrit-Reviewer: Ladsgroup <[email protected]>
Gerrit-Reviewer: XZise <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
Pywikibot-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-commits

Reply via email to