jenkins-bot has submitted this change and it was merged.
Change subject: Allow lonelypages to fail ......................................................................
Allow lonelypages to fail
Also note Phabricator task for misspelling test problem.
Change-Id: I7ecd8e37241e0426ab4516a76ad9f031806994c8 --- M tests/script_tests.py 1 file changed, 2 insertions(+), 3 deletions(-)
Approvals: John Vandenberg: Looks good to me, but someone else must approve XZise: Looks good to me, approved jenkins-bot: Verified
diff --git a/tests/script_tests.py b/tests/script_tests.py index 7d7f430..a85088b 100644 --- a/tests/script_tests.py +++ b/tests/script_tests.py @@ -329,15 +329,14 @@ if script_name in ['catall', # stdout user interaction 'checkimages', # bug 68613 'flickrripper', # Requires a flickr api key - 'lonelypages', # uses exit code 1 'script_wui', # Error on any user except DrTrigonBot 'upload', # raises custom ValueError ] + failed_dep_script_list or ( - (config.family != 'wikipedia' and script_name == 'lonelypages') or (config.family == 'wikipedia' and script_name == 'disambredir') or - (config.family == 'wikipedia' and config.mylang != 'en' and script_name == 'misspelling')): + (config.family == 'wikipedia' and config.mylang != 'en' and script_name == 'misspelling')): # T94681 dct[test_name] = unittest.expectedFailure(dct[test_name]) elif script_name in ['watchlist', # T77965 + 'lonelypages', # uses exit code 1; T94680 ]: dct[test_name] = allowed_failure(dct[test_name]) dct[test_name].__doc__ = \
pywikibot-commits@lists.wikimedia.org