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

Method test_values

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

Source from the content-addressed store, hash-verified

1009 Box(movie_data, conversion_box=False, box_duplicates="error")
1010
1011 def test_values(self):
1012 b = Box()
1013 b.foo = {}
1014 assert isinstance(list(b.values())[0], Box)
1015 c = Box()
1016 c.foohoo = []
1017 assert isinstance(list(c.values())[0], BoxList)
1018 d = Box(movie_data)
1019 assert len(movie_data["movies"].values()) == len(d.movies.values())
1020
1021 def test_items(self):
1022 b = Box()

Callers

nothing calls this directly

Calls 1

BoxClass · 0.90

Tested by

no test coverage detected