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

Function test_input_field_param

sdk/python/tests/codegen/test_generator.py:198–199  ·  view source on GitHub ↗
(cls, name: str, args, expected: str, ctx: Context)

Source from the content-addressed store, hash-verified

196)
197@pytest.mark.parametrize("cls", [Argument, Input])
198def test_input_field_param(cls, name: str, args, expected: str, ctx: Context):
199 assert _InputField(ctx, name, cls(*args)).as_param() == expected
200
201
202def test_input_field_param_expected_type(ctx: Context):

Callers

nothing calls this directly

Calls 2

_InputFieldClass · 0.90
as_paramMethod · 0.80

Tested by

no test coverage detected