|
|
|
@ -282,6 +282,7 @@ def tests(test_dir):
|
|
|
|
|
|
|
|
|
|
|
|
print(f"Launching Web UI in another process for testing with arguments: {' '.join(sys.argv[1:])}")
|
|
|
|
print(f"Launching Web UI in another process for testing with arguments: {' '.join(sys.argv[1:])}")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
os.environ['COMMANDLINE_ARGS'] = ""
|
|
|
|
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:
|
|
|
|
proc = subprocess.Popen([sys.executable, *sys.argv], stdout=stdout, stderr=stderr)
|
|
|
|
proc = subprocess.Popen([sys.executable, *sys.argv], stdout=stdout, stderr=stderr)
|
|
|
|
|
|
|
|
|
|
|
|
|