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.

11 lines
328 B
Python

"""Shared fixtures for proactive tests."""
import pytest
from gimme_job.proactive import roles
@pytest.fixture(autouse=True)
def _isolate_candidate_logs(tmp_path, monkeypatch):
"""Keep role-candidate JSONL writes inside the test tmp dir."""
monkeypatch.setattr(roles, "workspace_dir", lambda: tmp_path / "workspace")