Skip to content

tests: add trailing-slash mount behavior tests (#6935)#6941

Closed
internza wants to merge 1 commit into
psf:mainfrom
internza:tests/add-trailing-slash-tests
Closed

tests: add trailing-slash mount behavior tests (#6935)#6941
internza wants to merge 1 commit into
psf:mainfrom
internza:tests/add-trailing-slash-tests

Conversation

@internza
Copy link
Copy Markdown

@internza internza commented May 3, 2025

Closes #6935

What Added two new pytest functions to cover:

  • mounting with a trailing slash matches only that exact prefix
  • mounting without a trailing slash still yields the adapter but warns in docs

Why
Ensures documented “good first issue” behavior is tested, prevents regressions in URL-prefix matching logic.

@sigmavirus24
Copy link
Copy Markdown
Contributor

#6936 already exists to solve that issue. Thanks for sending this but we'll prioritize that one instead

@github-actions github-actions Bot locked as resolved and limited conversation to collaborators May 4, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

tests: add trailing slashes to mount to match docs recommendation?

2 participants