(app)
| 57 | |
| 58 | |
| 59 | def _client(app) -> TestClient: |
| 60 | # Default host is 127.0.0.1, so the DNS-rebinding guard only accepts that |
| 61 | # Host header (TestClient otherwise sends the disallowed "testserver"). |
| 62 | return TestClient(app, base_url="http://127.0.0.1") |
| 63 | |
| 64 | |
| 65 | def test_app_builds_and_initialize_succeeds(tmp_path): |
no outgoing calls
no test coverage detected