jenkins-bot submitted this change.

View Change

Approvals: Xqt: Looks good to me, approved jenkins-bot: Verified
[tests] TestScriptGenerator to script_tests collector

Change-Id: Icf937c0c9d986d82fe68c41929fce065268fae97
---
M tests/script_tests.py
1 file changed, 12 insertions(+), 0 deletions(-)

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)

To view, visit change 769427. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: Icf937c0c9d986d82fe68c41929fce065268fae97
Gerrit-Change-Number: 769427
Gerrit-PatchSet: 1
Gerrit-Owner: Xqt <info@gno.de>
Gerrit-Reviewer: Xqt <info@gno.de>
Gerrit-Reviewer: jenkins-bot
Gerrit-MessageType: merged