Function
test_good_response_data
(client: dagger.Client, httpx_mock: HTTPXMock)
Source from the content-addressed store, hash-verified
| 52 | |
| 53 | |
| 54 | async def test_good_response_data(client: dagger.Client, httpx_mock: HTTPXMock): |
| 55 | httpx_mock.add_response(json={"data": {"container": {"id": "spam"}}}) |
| 56 | |
| 57 | res = await client.container().id() |
| 58 | |
| 59 | assert res == "spam" |
| 60 | |
| 61 | |
| 62 | async def test_query_error(client: dagger.Client, httpx_mock: HTTPXMock): |
Callers
nothing calls this directly
Tested by
no test coverage detected