Uh oh!
There was an error while loading. Please reload this page.
tests: use inline_snapshot.Is on parametrized test - #945
Conversation
agronholm
commented
Jun 12, 2025
Looks like the tests are still failing though? |
agronholm
commented
Jun 12, 2025
That one failure looks like just a flaky test. |
Now the test is fixed... But it's failing correctly... 😅 The |
Viicos
commented
Jun 12, 2025
In progress in pydantic/pydantic-core#1719, but anyway this will only be included in 2.12. |
agronholm
commented
Jun 12, 2025
If you access the MCP server without the trailing slash, it will redirect you to a URL with the slash added. |
Kludex
commented
Jun 12, 2025
Are you saying this is working as expected? |
agronholm
commented
Jun 12, 2025
I have no idea how the test is supposed to work, TBH. I just observed a lot of redirects happening in the test suite when the forward slash is missing from the end of the URI. |
Kludex
commented
Jun 12, 2025
It's a Starlette thing. There's another PR that fixes the redirect behavior. |
medaminezghal
commented
Jun 16, 2025
@Kludex With I think it's better to edit it to make it compatible with newer |
@medaminezghal my Trio PR (#946) fixes that too. Right now this PR is the only thing in this code base standing between me and a fully passing test suite. |
agronholm
commented
Jun 23, 2025
That SSE failure could be due to improperly nested async context managers (typically a stream closed before the task using it has finished) |
Uh oh!
There was an error while loading. Please reload this page.
Kludex
commented
Jul 14, 2025
Looks good. |
4a6fbd3 to
62f114fComparefelixweinberger
commented
Jul 14, 2025
took the liberty of rebasing - looks like |
62f114f to
84937d1CompareUh oh!
There was an error while loading. Please reload this page.
cc @agronholm
This PR just uses
inline_snapshots properly on a parametrized test.