File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 88
99
1010# Sync tests for the await ep.make() function
11- def test_mcp_env_make_appends_trailing_slash ():
11+ @pytest .mark .asyncio
12+ async def test_mcp_env_make_appends_trailing_slash ():
1213 """
1314 Verify that await ep.make() appends a trailing slash to the MCP server URL if it's missing.
1415 This prevents 307 redirects that can break HTTP clients.
@@ -24,7 +25,8 @@ def test_mcp_env_make_appends_trailing_slash():
2425 assert envs .sessions [0 ].base_url == corrected_url
2526
2627
27- def test_mcp_env_make_keeps_existing_trailing_slash ():
28+ @pytest .mark .asyncio
29+ async def test_mcp_env_make_keeps_existing_trailing_slash ():
2830 """
2931 Verify that await ep.make() does not add an extra slash if one is already present.
3032 """
You can’t perform that action at this time.
0 commit comments