Skip to content

fix test_port_host_dispatcher with new werkzeug version#37

Merged
thrau merged 1 commit intomainfrom
fix-test-with-new-werkzeug-version
Apr 2, 2026
Merged

fix test_port_host_dispatcher with new werkzeug version#37
thrau merged 1 commit intomainfrom
fix-test-with-new-werkzeug-version

Conversation

@thrau
Copy link
Copy Markdown
Member

@thrau thrau commented Apr 2, 2026

Motivation

This commit pallets/werkzeug@d3d3df5, released with werkzeug v3.1.7, introduced syntax checking on the target host port, and raises a different exception now.

This PR fixes a test assert that's compatible with this newer version.

Changes

  • Just updated test_port_host_dispatcher to also check for the new exception, no impact on rolo otherwise

@thrau thrau requested a review from bentsku as a code owner April 2, 2026 11:16
Copy link
Copy Markdown
Collaborator

@bentsku bentsku left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Quick and simple fix 👍

@thrau thrau merged commit ed986bb into main Apr 2, 2026
4 checks passed
@thrau thrau deleted the fix-test-with-new-werkzeug-version branch April 2, 2026 15:18
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.

2 participants