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