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

Method test_from_json_file

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

Source from the content-addressed store, hash-verified

472 assert t.setdefault("c", [{"d": 2}]) == BoxList([{"d": 2}])
473
474 def test_from_json_file(self):
475 bx = Box.from_json(filename=data_json_file)
476 assert isinstance(bx, Box)
477 assert bx.widget.window.height == 500
478
479 def test_from_yaml_invalid_bracket_key(self):
480 key = r"^[^_^\d][\w]*$"

Callers

nothing calls this directly

Calls 1

from_jsonMethod · 0.45

Tested by

no test coverage detected