Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dagger/dagger
/ test_enum_structure
Function
test_enum_structure
sdk/python/tests/client/test_converter.py:21–22 ·
view source on GitHub ↗
(conv: JsonConverter)
Source
from the content-addressed store, hash-verified
19
20
21
def
test_enum_structure(conv: JsonConverter):
22
assert conv.structure(
"ONE"
, CustomEnum) == CustomEnum.ONE
23
24
25
def
test_enum_unstructure(conv: JsonConverter):
Callers
nothing calls this directly
Calls
1
structure
Method · 0.80
Tested by
no test coverage detected