feat(taxonomy): Redirect logs and artifacts to dedicated sub-folders
This commit is contained in:
@@ -12,7 +12,7 @@ sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__), "..")))
|
||||
from api_hook_client import ApiHookClient
|
||||
|
||||
# Define a temporary file path for callback testing
|
||||
TEST_CALLBACK_FILE = Path("temp_callback_output.txt")
|
||||
TEST_CALLBACK_FILE = Path("tests/artifacts/temp_callback_output.txt")
|
||||
|
||||
@pytest.fixture(scope="function", autouse=True)
|
||||
def cleanup_callback_file() -> None:
|
||||
@@ -75,3 +75,4 @@ def test_gui2_custom_callback_hook_works(live_gui: Any) -> None:
|
||||
with open(TEST_CALLBACK_FILE, "r") as f:
|
||||
content = f.read()
|
||||
assert content == test_data, "Callback executed, but file content is incorrect."
|
||||
|
||||
|
||||
Reference in New Issue
Block a user