Skip to content

fix live server host mismatch - #211

Open
KristofersJurevics wants to merge 2 commits into
pytest-dev:masterfrom
KristofersJurevics:review/issue-190
Open

KristofersJurevics wants to merge 2 commits into
pytest-dev:masterfrom
KristofersJurevics:review/issue-190

Conversation

@KristofersJurevics

Copy link
Copy Markdown

this fixes a host mismatch in the live_server fixture.

when no server name is configured, flask now uses the configured live-server host instead of localhost.localdomain. this keeps generated urls aligned with the address the server actually listens on and avoids route failures for clients that resolve localhost but not localhost.localdomain.

added a regression test that makes a real http request to the live server.

tests: 35 passed, 1 skipped

closes #190

kristofers jurevics and others added 2 commits November 11, 2026 20:37
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Getting 'Not Found' across all routes

1 participant