refactor(test): 5 test files use live_gui_workspace fixture instead of hardcoded path
This commit is contained in:
@@ -6,11 +6,11 @@ import json
|
||||
from pathlib import Path
|
||||
from src.api_hook_client import ApiHookClient
|
||||
|
||||
def test_tool_preset_switching(live_gui):
|
||||
def test_tool_preset_switching(live_gui, live_gui_workspace):
|
||||
client = ApiHookClient()
|
||||
|
||||
# Paths for tool presets
|
||||
temp_workspace = Path("tests/artifacts/live_gui_workspace")
|
||||
temp_workspace = live_gui_workspace
|
||||
global_tool_presets_path = temp_workspace / "tool_presets.toml"
|
||||
project_tool_presets_path = temp_workspace / "project_tool_presets.toml"
|
||||
manual_slop_path = temp_workspace / "manual_slop.toml"
|
||||
|
||||
Reference in New Issue
Block a user