You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
442 B
Python
12 lines
442 B
Python
"""Shared fixtures for proactive tests."""
|
|
import pytest
|
|
|
|
from gimme_job.proactive import employer_scope, roles
|
|
|
|
|
|
@pytest.fixture(autouse=True)
|
|
def _isolate_candidate_logs(tmp_path, monkeypatch):
|
|
"""Keep role/employer candidate JSONL writes inside the test tmp dir."""
|
|
monkeypatch.setattr(roles, "workspace_dir", lambda: tmp_path / "workspace")
|
|
monkeypatch.setattr(employer_scope, "workspace_dir", lambda: tmp_path / "workspace")
|