John Vandenberg has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/201178

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(-)


  git pull ssh://gerrit.wikimedia.org:29418/pywikibot/core 
refs/changes/78/201178/1

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__ = \

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I7ecd8e37241e0426ab4516a76ad9f031806994c8
Gerrit-PatchSet: 1
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Owner: John Vandenberg <jay...@gmail.com>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to