sh_cpl/unittests/unittests_cli/threads/start_test_thread.py

13 lines
316 B
Python
Raw Normal View History

2022-06-26 00:39:16 +02:00
import threading
from unittests_shared.cli_commands import CLICommands
class StartTestThread(threading.Thread):
def __init__(self, is_dev=False):
2022-06-26 00:39:16 +02:00
threading.Thread.__init__(self, daemon=True)
self._is_dev = is_dev
2022-06-26 00:39:16 +02:00
def run(self):
CLICommands.start(is_dev=self._is_dev, output=True)