Add resource upload APIs
This commit is contained in:
@ -13,6 +13,7 @@ def test_memory_system_server_exposes_routes():
|
||||
}
|
||||
assert {"GET", "POST"} <= context_methods
|
||||
assert "/memory-system/search" in paths
|
||||
assert "/memory-system/resources" in paths
|
||||
assert "/memory-system/users/{user_id}/profile" in paths
|
||||
task_methods = {
|
||||
method
|
||||
@ -28,6 +29,13 @@ def test_memory_system_server_exposes_routes():
|
||||
}
|
||||
assert {"GET", "POST"} <= task_methods
|
||||
assert {"GET", "POST"} <= profile_methods
|
||||
resource_methods = {
|
||||
method
|
||||
for route in app.routes
|
||||
if getattr(route, "path", "") == "/memory-system/resources"
|
||||
for method in getattr(route, "methods", set())
|
||||
}
|
||||
assert {"DELETE", "POST"} <= resource_methods
|
||||
|
||||
|
||||
def test_memory_system_messages_does_not_require_account_key_header():
|
||||
|
||||
Reference in New Issue
Block a user