sh_cpl/unittests/unittests_cli/threads/start_test_thread.py

14 lines
317 B
Python

import threading
from unittests_shared.cli_commands import CLICommands
class StartTestThread(threading.Thread):
def __init__(self, is_dev=False):
threading.Thread.__init__(self, daemon=True)
self._is_dev = is_dev
def run(self):
CLICommands.start(is_dev=self._is_dev, output=True)