aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--launch.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/launch.py b/launch.py
index 33f98343..958336f2 100644
--- a/launch.py
+++ b/launch.py
@@ -202,6 +202,9 @@ def prepare_enviroment():
def tests(argv):
+ if "--api" not in argv:
+ argv.append("--api")
+
print(f"Launching Web UI in another process for testing with arguments: {' '.join(argv[1:])}")
with open('test/stdout.txt', "w", encoding="utf8") as stdout, open('test/stderr.txt', "w", encoding="utf8") as stderr: