always add --api when running tests
This commit is contained in:
parent
59dfe0845d
commit
5a6e0cfba6
|
@ -202,6 +202,9 @@ def prepare_enviroment():
|
||||||
|
|
||||||
|
|
||||||
def tests(argv):
|
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:])}")
|
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:
|
with open('test/stdout.txt', "w", encoding="utf8") as stdout, open('test/stderr.txt', "w", encoding="utf8") as stderr:
|
||||||
|
|
Loading…
Reference in New Issue