jenkins-bot has submitted this change and it was merged.
Change subject: interwiki script test fails if 'Test page' exists ......................................................................
interwiki script test fails if 'Test page' exists
Bug: T104568 Change-Id: I2597fcfe679469e73b4e8d806f1760c3a07e330a --- M tests/script_tests.py 1 file changed, 3 insertions(+), 2 deletions(-)
Approvals: Xqt: Looks good to me, approved jenkins-bot: Verified
diff --git a/tests/script_tests.py b/tests/script_tests.py index e77e5a0..68d6b17 100644 --- a/tests/script_tests.py +++ b/tests/script_tests.py @@ -83,7 +83,7 @@ 'catall': 'q\n', # q for quit 'editarticle': 'Test page\n', 'imageuncat': 'q\n', - 'interwiki': 'Test page\n', + 'interwiki': 'Test page that should not exist\n', 'misspelling': 'q\n', 'pagefromfile': 'q\n', 'replace': 'foo\nbar\n\n\n', # match, replacement, @@ -134,7 +134,8 @@ 'harvest_template': 'ERROR: Please specify', 'illustrate_wikidata': 'I need a generator with pages to work on', 'imageuncat': 'WARNING: This script is primarily written for Wikimedia Commons', - 'interwiki': 'does not exist. Skipping.', # 'Test page' does not exist + # script_input['interwiki'] above lists a title that should not exist + 'interwiki': 'does not exist. Skipping.', 'login': 'Logged in on ', 'match_images': 'Require two images to work on.', 'pagefromfile': 'Please enter the file name',
pywikibot-commits@lists.wikimedia.org