Commit 5a6e0cfb authored by AUTOMATIC's avatar AUTOMATIC
Browse files

always add --api when running tests

parent 59dfe084
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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: