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

Method test_functional_spaceballs

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

Source from the content-addressed store, hash-verified

825 assert base_config == widget_config, "{} != {}".format(base_config, widget_config)
826
827 def test_functional_spaceballs(self):
828 my_box = Box(movie_data)
829
830 my_box.movies.Spaceballs.Stars.append({"name": "Bill Pullman", "imdb": "nm0000597", "role": "Lone Starr"})
831 assert my_box.movies.Spaceballs.Stars[-1].role == "Lone Starr"
832 assert my_box.movies.Robin_Hood_Men_in_Tights.length == 104
833 my_box.movies.Robin_Hood_Men_in_Tights.Stars.pop(0)
834 assert my_box.movies.Robin_Hood_Men_in_Tights.Stars[0].name == "Richard Lewis"
835
836 def test_circular_references(self):
837 circular_dict = {}

Callers

nothing calls this directly

Calls 3

BoxClass · 0.90
appendMethod · 0.80
popMethod · 0.45

Tested by

no test coverage detected