jenkins-bot has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/769427 )
Change subject: [tests] TestScriptGenerator to script_tests collector ......................................................................
[tests] TestScriptGenerator to script_tests collector
Change-Id: Icf937c0c9d986d82fe68c41929fce065268fae97 --- M tests/script_tests.py 1 file changed, 12 insertions(+), 0 deletions(-)
Approvals: Xqt: Looks good to me, approved jenkins-bot: Verified
diff --git a/tests/script_tests.py b/tests/script_tests.py index 2c2aef4..e5614ea 100644 --- a/tests/script_tests.py +++ b/tests/script_tests.py @@ -168,6 +168,18 @@ test_list += ['tests.script_tests.TestScriptSimulate.' + name for name in tests]
+ tests = (['test__login'] + + ['test_' + name + for name in sorted(script_list) + if name != 'login' + and name not in failed_dep_script_set + and name not in unrunnable_script_set + and (enable_autorun_tests or name not in auto_run_script_list) + ]) + + test_list += ['tests.script_tests.TestScriptGenerator.' + name + for name in tests] + tests = loader.loadTestsFromNames(test_list) suite = unittest.TestSuite() suite.addTests(tests)
pywikibot-commits@lists.wikimedia.org