jenkins-bot has submitted this change and it was merged.
Change subject: lonelypages on wikidata now works correctly ......................................................................
lonelypages on wikidata now works correctly
Change-Id: I9e10b9abaac91d735657bf1574126f67bf90d685 --- M tests/script_tests.py 1 file changed, 3 insertions(+), 4 deletions(-)
Approvals: John Vandenberg: Looks good to me, approved jenkins-bot: Verified
diff --git a/tests/script_tests.py b/tests/script_tests.py index 000993e..7d96152 100644 --- a/tests/script_tests.py +++ b/tests/script_tests.py @@ -226,10 +226,9 @@ 'pagefromfile', # bug 68660 'transferbot', # raises custom Exception 'upload', # raises custom ValueError - ] or \ - (config.family == 'wikidata' and script_name == 'lonelypages') or \ - ((config.family != 'wikipedia' or config.mylang != 'en') and script_name == 'cfd') or \ - (config.family == 'wikipedia' and config.mylang != 'en' and script_name == 'misspelling'): + ] or ( + ((config.family != 'wikipedia' or config.mylang != 'en') and script_name == 'cfd') or + (config.family == 'wikipedia' and config.mylang != 'en' and script_name == 'misspelling')): dct[test_name] = unittest.expectedFailure(dct[test_name]) dct[test_name].__doc__ = \ 'Test running ' + script_name + ' without arguments.'