def test_build_dict_name(self): city = City() city.name = "test" city_dict = city.build_dictionary() assert city_dict["name"] == "test"