File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change 1515from .utils import logger
1616from .version import __version__
1717
18+ # Load all test runners at module level so they register their commands
19+ for f in glob (join (dirname (__file__ ), 'test_runners' , "*.py" )):
20+ f = basename (f )[:- 3 ]
21+ if f == '__init__' :
22+ continue
23+ importlib .import_module ('launchable.test_runners.%s' % f )
24+
1825app = typer .Typer ()
1926
2027
@@ -60,13 +67,6 @@ def main(
6067
6168 logging .basicConfig (level = level )
6269
63- # load all test runners
64- for f in glob (join (dirname (__file__ ), 'test_runners' , "*.py" )):
65- f = basename (f )[:- 3 ]
66- if f == '__init__' :
67- continue
68- importlib .import_module ('launchable.test_runners.%s' % f )
69-
7070 # load all plugins
7171 if plugin_dir :
7272 for f in glob (join (plugin_dir , '*.py' )):
You can’t perform that action at this time.
0 commit comments