| 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 = {} |