MCPcopy Create free account
hub / github.com/IQEngine/IQEngine / test_api_get_meta_not_existing

Function test_api_get_meta_not_existing

api/tests/test_api.py:187–196  ·  view source on GitHub ↗
(client)

Source from the content-addressed store, hash-verified

185
186@pytest.mark.asyncio
187async def test_api_get_meta_not_existing(client):
188 response = client.get(
189 f'/api/datasources/{test_datasource["account"]}/{test_datasource["container"]}/file_path/meta'
190 )
191 assert response.status_code == 404 # Because the datasource doesn't exist
192 client.post("/api/datasources", json=test_datasource).json()
193 response = client.get(
194 '/api/datasources/{test_datasource["account"]}/{test_datasource["container"]}/file_path/meta'
195 )
196 assert response.status_code == 404 # Because the metadata doesn't exist
197
198
199@pytest.mark.asyncio

Callers

nothing calls this directly

Calls 1

getMethod · 0.65

Tested by

no test coverage detected