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

Method test_from_json_file

test/test_box.py:425–428  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

423 assert t.setdefault("c", [{"d": 2}]) == BoxList([{"d": 2}])
424
425 def test_from_json_file(self):
426 bx = Box.from_json(filename=data_json_file)
427 assert isinstance(bx, Box)
428 assert bx.widget.window.height == 500
429
430 def test_from_yaml_invalid_bracket_key(self):
431 key = r"^[^_^\d][\w]*$"

Callers

nothing calls this directly

Calls 1

from_jsonMethod · 0.45

Tested by

no test coverage detected