MCPcopy Index your code
hub / github.com/dagger/dagger / test_cli_exec_errors

Function test_cli_exec_errors

sdk/python/tests/provisioning/test_cli.py:63–78  ·  view source on GitHub ↗
(config_args: dict, call_kwargs: dict, fp: FakeProcess)

Source from the content-addressed store, hash-verified

61 ],
62)
63def test_cli_exec_errors(config_args: dict, call_kwargs: dict, fp: FakeProcess):
64 fp.register(
65 ["dagger", "session", fp.any()],
66 **call_kwargs,
67 )
68 with (
69 pytest.raises(
70 dagger.ProvisionError,
71 match="Failed to start Dagger engine session",
72 ),
73 session.start_cli_session_sync(
74 dagger.Config(**config_args),
75 "dagger",
76 ),
77 ):
78 ...
79
80
81def test_log_output_stringio(fp: FakeProcess):

Callers

nothing calls this directly

Calls 2

ConfigMethod · 0.65
registerMethod · 0.45

Tested by

no test coverage detected