MCPcopy Index your code
hub / github.com/google/adk-python / test_load_empty

Function test_load_empty

tests/unittests/artifacts/test_artifact_service.py:197–205  ·  view source on GitHub ↗

Tests loading an artifact when none exists.

(service_type, artifact_service_factory)

Source from the content-addressed store, hash-verified

195 ],
196)
197async def test_load_empty(service_type, artifact_service_factory):
198 """Tests loading an artifact when none exists."""
199 artifact_service = artifact_service_factory(service_type)
200 assert not await artifact_service.load_artifact(
201 app_name="test_app",
202 user_id="test_user",
203 session_id="session_id",
204 filename="filename",
205 )
206
207
208@pytest.mark.asyncio

Callers

nothing calls this directly

Calls 2

artifact_service_factoryFunction · 0.85
load_artifactMethod · 0.45

Tested by

no test coverage detected