Commit 5a6e0cfb authored by AUTOMATIC's avatar AUTOMATIC

always add --api when running tests

parent 59dfe084
......@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment