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

Method test_bad_recursive

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

Source from the content-addressed store, hash-verified

1239 assert not bx.keys()
1240
1241 def test_bad_recursive(self):
1242 b = Box()
1243 bl = b.setdefault("l", [])
1244 bl.append(["foo"])
1245 assert bl == [["foo"]], bl
1246
1247 def test_dots(self):
1248 b = Box(movie_data.copy(), box_dots=True)

Callers

nothing calls this directly

Calls 3

setdefaultMethod · 0.95
BoxClass · 0.90
appendMethod · 0.80

Tested by

no test coverage detected