Skip to content

Commit 5a6e0cf

Browse files
committed
always add --api when running tests
1 parent 59dfe08 commit 5a6e0cf

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

launch.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,9 @@ def prepare_enviroment():
202202

203203

204204
def tests(argv):
205+
if "--api" not in argv:
206+
argv.append("--api")
207+
205208
print(f"Launching Web UI in another process for testing with arguments: {' '.join(argv[1:])}")
206209

207210
with open('test/stdout.txt', "w", encoding="utf8") as stdout, open('test/stderr.txt', "w", encoding="utf8") as stderr:

0 commit comments

Comments
 (0)