MCPcopy Create free account
hub / github.com/cdgriffith/Box / test_dir

Method test_dir

test/test_config_box.py:42–46  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

40 assert repr(cns).startswith("ConfigBox(")
41
42 def test_dir(self):
43 b = ConfigBox(test_dict)
44
45 for item in ("to_yaml", "to_dict", "to_json", "int", "list", "float"):
46 assert item in dir(b)
47
48 def test_config_default(self):
49 bx4 = Box(default_box=True, default_box_attr=ConfigBox)

Callers

nothing calls this directly

Calls 1

ConfigBoxClass · 0.90

Tested by

no test coverage detected