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

Method test_from_string_all

test/test_from_file.py:41–49  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

39 box_from_file("does not exist")
40
41 def test_from_string_all(self):
42 with open(Path(test_root, "data", "json_file.json"), "r") as f:
43 box_from_string(f.read())
44
45 with open(Path(test_root, "data", "toml_file.tml"), "r") as f:
46 box_from_string(f.read(), string_type="toml")
47
48 with open(Path(test_root, "data", "yaml_file.yaml"), "r") as f:
49 box_from_string(f.read(), string_type="yaml")

Callers

nothing calls this directly

Calls 1

box_from_stringFunction · 0.90

Tested by

no test coverage detected