We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 95961ca commit ca165c9Copy full SHA for ca165c9
tests/conftest.py
@@ -22,7 +22,7 @@ def mock_responses():
22
def test_response_config(monkeypatch):
23
"""Use a test-specific responses.yml file."""
24
test_dir = Path(__file__).parent
25
- test_responses_path = test_dir / "responses.yml"
+ test_responses_path = test_dir / "tests/responses.yml"
26
27
# Ensure the test responses.yml file exists
28
if not test_responses_path.exists():
tests/test_server.py
@@ -16,6 +16,7 @@
16
17
client = TestClient(app)
18
19
+
20
@pytest.fixture(autouse=True)
21
def mock_responses_file():
# Update the fixture to also patch ResponseConfig.load_responses
0 commit comments