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

Method test_functional_spaceballs

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

Source from the content-addressed store, hash-verified

776 assert base_config == widget_config, "{} != {}".format(base_config, widget_config)
777
778 def test_functional_spaceballs(self):
779 my_box = Box(movie_data)
780
781 my_box.movies.Spaceballs.Stars.append({"name": "Bill Pullman", "imdb": "nm0000597", "role": "Lone Starr"})
782 assert my_box.movies.Spaceballs.Stars[-1].role == "Lone Starr"
783 assert my_box.movies.Robin_Hood_Men_in_Tights.length == 104
784 my_box.movies.Robin_Hood_Men_in_Tights.Stars.pop(0)
785 assert my_box.movies.Robin_Hood_Men_in_Tights.Stars[0].name == "Richard Lewis"
786
787 def test_circular_references(self):
788 circular_dict = {}

Callers

nothing calls this directly

Calls 3

BoxClass · 0.90
appendMethod · 0.80
popMethod · 0.45

Tested by

no test coverage detected