fix(tests): resolve 3 test failures in GUI decoupling track

- conftest.py: Create workspace dir before writing files (FileNotFoundError)
- test_live_gui_integration.py: Call handler directly since start_services mocked
- test_gui2_performance.py: Fix key mismatch (gui_2.py -> sloppy.py path lookup)
This commit is contained in:
2026-03-04 22:00:00 -05:00
parent 2d92674aa0
commit 45b716f0f0
4 changed files with 29 additions and 18 deletions

View File

@@ -187,6 +187,8 @@ def live_gui() -> Generator[tuple[subprocess.Popen, str], None, None]:
break
except PermissionError:
time.sleep(0.5)
# Create the workspace directory before writing files
temp_workspace.mkdir(parents=True, exist_ok=True)
# Create minimal project files to avoid cluttering root
# NOTE: Do NOT create config.toml here - we use SLOP_CONFIG env var