Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dagger/dagger
/ test_enum_render
Function
test_enum_render
sdk/python/tests/codegen/test_generator.py:535–537 ·
view source on GitHub ↗
(type_, expected, ctx: Context)
Source
from the content-addressed store, hash-verified
533
],
534
)
535
def
test_enum_render(type_, expected, ctx: Context):
536
handler = EnumHandler(ctx)
537
assert handler.render(type_) == expected
538
539
540
@pytest.mark.parametrize(
Callers
nothing calls this directly
Calls
1
render
Method · 0.45
Tested by
no test coverage detected