Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cdgriffith/Box
/ test_to_yaml_basic
Method
test_to_yaml_basic
test/test_box.py:298–301 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
296
assert data == test_dict
297
298
def
test_to_yaml_basic(self):
299
a = Box(test_dict)
300
yaml = YAML(typ=
"safe"
)
301
assert yaml.load(a.to_yaml()) == test_dict
302
303
def
test_to_yaml_file(self):
304
a = Box(test_dict)
Callers
nothing calls this directly
Calls
2
to_yaml
Method · 0.95
Box
Class · 0.90
Tested by
no test coverage detected