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

Method test_from_json

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

Source from the content-addressed store, hash-verified

491 assert bx.total == 4443.52
492
493 def test_from_json(self):
494 bx = Box.from_json(json.dumps(test_dict))
495 assert isinstance(bx, Box)
496 assert bx.key1 == "value1"
497
498 def test_from_yaml(self):
499 yaml = YAML(typ="safe")

Callers

nothing calls this directly

Calls 1

from_jsonMethod · 0.45

Tested by

no test coverage detected