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

Method test_no_recursion_errors

test/test_box_list.py:574–577  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

572 assert item.box_options["default_box"] is True
573
574 def test_no_recursion_errors(self):
575 a = Box({"list_of_dicts": [[{"example1": 1}]]})
576 a.list_of_dicts.append([{"example2": 2}])
577 assert a["list_of_dicts"][1] == [{"example2": 2}]
578
579 def test_circular_references(self):
580 circular_list = []

Callers

nothing calls this directly

Calls 2

BoxClass · 0.90
appendMethod · 0.80

Tested by

no test coverage detected