Every test client speaks to 127.0.0.1, since an open door now answers 421 to a Host that is not loopback

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
WolfandClaude Fable 5.1 committed 2026-10-27 11:52:30 +01:00
1 parent 6513e2ab95
commit 6e51134477
12 files changed
+19 -19

No files matched your search

+1 -1
View File
@@ -29,7 +29,7 @@ def store(app: FastAPI) -> Store:
@pytest.fixture
def client(app: FastAPI) -> Iterator[TestClient]:
with TestClient(app) as c:
with TestClient(app, base_url="http://127.0.0.1") as c:
yield c