John Vandenberg has uploaded a new change for review.
https://gerrit.wikimedia.org/r/178735
Change subject: Ignore output of script test 'watchlist' -simulate
......................................................................
Ignore output of script test 'watchlist' -simulate
Bug: T77965
Change-Id: I0e528b4f4969bdaa1722281dffc36b86e727e4c8
---
M tests/script_tests.py
1 file changed, 6 insertions(+), 2 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/pywikibot/core
refs/changes/35/178735/1
diff --git a/tests/script_tests.py b/tests/script_tests.py
index 06f3df7..a785d21 100644
--- a/tests/script_tests.py
+++ b/tests/script_tests.py
@@ -12,15 +12,16 @@
import sys
import time
import subprocess
+
import pywikibot
from pywikibot import config
-from tests.aspects import unittest, DefaultSiteTestCase, MetaTestCaseClass,
PwbTestCase
+from tests.aspects import unittest, DefaultSiteTestCase, MetaTestCaseClass,
PwbTestCase
+from tests.utils import allowed_failure
base_path = os.path.split(os.path.split(__file__)[0])[0]
pwb_path = os.path.join(base_path, 'pwb.py')
scripts_path = os.path.join(base_path, 'scripts')
-
script_deps = {
'script_wui': ['crontab', 'lua'],
@@ -391,6 +392,9 @@
(config.family == 'wikipedia' and script_name ==
'disambredir') or
(config.family == 'wikipedia' and config.mylang != 'en'
and script_name == 'misspelling')):
dct[test_name] = unittest.expectedFailure(dct[test_name])
+ elif script_name in ['watchlist', # T77965
+ ]:
+ dct[test_name] = allowed_failure(dct[test_name])
dct[test_name].__doc__ = \
'Test running ' + script_name + ' -simulate.'
dct[test_name].__name__ = test_name
--
To view, visit https://gerrit.wikimedia.org/r/178735
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I0e528b4f4969bdaa1722281dffc36b86e727e4c8
Gerrit-PatchSet: 1
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Owner: John Vandenberg <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits