aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAUTOMATIC <16777216c@gmail.com>2022-10-30 08:28:36 +0300
committerAUTOMATIC <16777216c@gmail.com>2022-10-30 08:28:36 +0300
commit5a6e0cfba675c0f11ade7124cbeec1356c77beb2 (patch)
treef5d3b63e63f88a0c2d8ffa41e21b9c778fd3afb9
parent59dfe0845d964868e92572c78a420b6d68c46ea4 (diff)
always add --api when running tests
-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: