Spaces:
Running
Running
Jeremiah Lowin commited on
Commit ·
e99d5dd
1
Parent(s): 37f3c8b
Update test_openapi.py
Browse files
tests/server/openapi/test_openapi.py
CHANGED
|
@@ -917,7 +917,7 @@ class TestMountFastMCP:
|
|
| 917 |
assert len(resources) == 4 # Updated to account for new search endpoint
|
| 918 |
# We're checking the key used by mcp to store the resource
|
| 919 |
# The prefixed URI is used as the key, but the resource's original uri is preserved
|
| 920 |
-
prefixed_uri = "resource://fastapi/
|
| 921 |
resource = mcp._resource_manager.get_resources().get(prefixed_uri)
|
| 922 |
assert resource is not None
|
| 923 |
|
|
|
|
| 917 |
assert len(resources) == 4 # Updated to account for new search endpoint
|
| 918 |
# We're checking the key used by mcp to store the resource
|
| 919 |
# The prefixed URI is used as the key, but the resource's original uri is preserved
|
| 920 |
+
prefixed_uri = "resource://fastapi/get_users_users_get"
|
| 921 |
resource = mcp._resource_manager.get_resources().get(prefixed_uri)
|
| 922 |
assert resource is not None
|
| 923 |
|