MCPcopy Create free account
hub / github.com/dagger/dagger / context

Function context

sdk/python/tests/client/test_response.py:18–21  ·  view source on GitHub ↗
(mocker)

Source from the content-addressed store, hash-verified

16
17@pytest.fixture(name="ctx")
18def context(mocker):
19 connection = mocker.MagicMock()
20 selections = deque(Field("T", f, {}) for f in ("one", "two", "three"))
21 return Context(connection, selections)
22
23
24def test_none(ctx: Context):

Callers

nothing calls this directly

Calls 2

FieldClass · 0.90
ContextClass · 0.90

Tested by

no test coverage detected