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