def test_largest(self):
     self.assertEqual(
         'Sydney', cities.largest_city(cities.get_population_data()).name)
Exemplo n.º 2
0
 def test_largest(self):
     largest = "Sydney"
     self.assertEqual(largest, cities.largest_city(cities.get_population_data()).name)
 def test_largest_state(self):
     self.assertEqual(
         'NSW', cities.largest_state(cities.get_population_data()))