Xqt has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/740657 )
Change subject: [tests] Temporary restrict runnable script_list in script_tests.py ......................................................................
[tests] Temporary restrict runnable script_list in script_tests.py
This patch is for debug purpose only
Bug: T296204 Change-Id: I04ac96e610b12c75d5a761b22b9aa9ba9ce5059e --- M tests/script_tests.py M tox.ini 2 files changed, 4 insertions(+), 3 deletions(-)
Approvals: jenkins-bot: Verified Xqt: Looks good to me, approved
diff --git a/tests/script_tests.py b/tests/script_tests.py index 8c29872..b3089e1 100644 --- a/tests/script_tests.py +++ b/tests/script_tests.py @@ -54,8 +54,9 @@ return scripts
-script_list = (['login'] - + list_scripts(scripts_path, 'login.py')) +##script_list = (['login'] +## + list_scripts(scripts_path, 'login.py')) +script_list = ['login', 'add_text', 'archivebot', 'basic', 'blockpageschecker']
runnable_script_list = ( ['login'] + sorted(set(script_list) - {'login'} - unrunnable_script_set)) diff --git a/tox.ini b/tox.ini index a6e64be..d76165b 100644 --- a/tox.ini +++ b/tox.ini @@ -211,7 +211,7 @@ tests/page_tests.py: E241, N802 tests/pagegenerators_tests.py: N802 tests/pwb/*: T001 - tests/script_tests.py: N802 + tests/script_tests.py: N802, E265, E266, E501 tests/site_detect_tests.py: N802 tests/site_tests.py: N802 tests/sparql_tests.py: N802
pywikibot-commits@lists.wikimedia.org