fix(tests): route live_gui subprocess logs to tests/logs/ instead of project root
This commit is contained in:
+2
-2
@@ -725,9 +725,9 @@ def live_gui(request) -> Generator["_LiveGuiHandle", None, None]:
|
||||
return
|
||||
|
||||
print(f"\n[Fixture] Starting {gui_script} --enable-test-hooks in {temp_workspace}...")
|
||||
os.makedirs("logs", exist_ok=True)
|
||||
os.makedirs("tests/logs", exist_ok=True)
|
||||
log_file_name = Path(gui_script).name.replace('.', '_')
|
||||
log_file = open(f"logs/{log_file_name}_test.log", "w", encoding="utf-8")
|
||||
log_file = open(f"tests/logs/{log_file_name}_test.log", "w", encoding="utf-8")
|
||||
|
||||
# Use environment variable to point to temp config if App supports it,
|
||||
# or just run from that CWD.
|
||||
|
||||
Reference in New Issue
Block a user