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

Change subject: Expect failure of scripts which fail dependencies
......................................................................


Expect failure of scripts which fail dependencies

Change-Id: I6d2ca1383ce92ef6e4a221e98b7abfb5b213b2d2
---
M tests/script_tests.py
1 file changed, 3 insertions(+), 3 deletions(-)

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



diff --git a/tests/script_tests.py b/tests/script_tests.py
index 7605708..ec9a8c0 100644
--- a/tests/script_tests.py
+++ b/tests/script_tests.py
@@ -181,7 +181,7 @@
               for name in sorted(script_list)
               if name != 'login'
               and name not in deadlock_script_list
-              and name not in failed_dep_script_list  # no_args = execution
+              and name not in failed_dep_script_list
               and name not in unrunnable_script_list
               and (enable_autorun_tests or name not in auto_run_script_list)]
 
@@ -347,7 +347,7 @@
                                'data_ingestion',  # bug 68611
                                'replicate_wiki',  # bug 68664
                                'script_wui',      # Failing on travis-ci
-                               ]:
+                               ] + failed_dep_script_list:
                 dct[test_name] = unittest.expectedFailure(dct[test_name])
             dct[test_name].__doc__ = 'Test running ' + script_name + ' -help'
             dct[test_name].__name__ = test_name
@@ -377,7 +377,7 @@
                                'replicate_wiki',  # custom return codes
                                'script_wui',      # Error on any user except 
DrTrigonBot
                                'upload',          # raises custom ValueError
-                               ] or (
+                               ] + failed_dep_script_list or (
                     ((config.family != 'wikipedia' or config.mylang != 'en') 
and script_name == 'cfd') or
                     (config.family == 'wikipedia' and script_name == 
'disambredir') or
                     (config.family == 'wikipedia' and config.mylang != 'en' 
and script_name == 'misspelling')):

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I6d2ca1383ce92ef6e4a221e98b7abfb5b213b2d2
Gerrit-PatchSet: 1
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Owner: John Vandenberg <[email protected]>
Gerrit-Reviewer: Ladsgroup <[email protected]>
Gerrit-Reviewer: Merlijn van Deen <[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