Skip to content

fix test_port_host_dispatcher with new werkzeug version - #37

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

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

Conversation

@thrau

@thrauthrau commented Apr 2, 2026

Copy link
Copy Markdown
Contributor

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 ownerApril 2, 2026 11:16
@thrauthrau mentioned this pull request Apr 2, 2026

@bentskubentsku left a comment

Copy link
Copy Markdown
Collaborator

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 👍

@bentskubentsku mentioned this pull request Apr 2, 2026
@thrau
thrau merged commit ed986bb into mainApr 2, 2026
4 checks passed
@thrau
thrau deleted the fix-test-with-new-werkzeug-version branch April 2, 2026 15:18
Sign up for freeto 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

@thrau@bentsku