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

Method test_from_string_all

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

Source from the content-addressed store, hash-verified

45 box_from_file("does not exist")
46
47 def test_from_string_all(self):
48 with open(Path(test_root, "data", "json_file.json"), "r") as f:
49 box_from_string(f.read())
50
51 with open(Path(test_root, "data", "toml_file.tml"), "r") as f:
52 box_from_string(f.read(), string_type="toml")
53
54 with open(Path(test_root, "data", "yaml_file.yaml"), "r") as f:
55 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