def test_city_country_population(self): '''Do city country poplation groupings like santiago chile 5000000 work?''' formatted_city_country_pop = format_city_country( 'santiago', 'chile', '5000000') self.assertEqual(formatted_city_country_pop, 'Santiago, Chile - Population 5000000')
def test_city_country(self): '''Do city country pairings like santiago chile work?''' formatted_city_country = format_city_country('santiago', 'chile') self.assertEqual(formatted_city_country, 'Santiago, Chile')
def test_city_country(self): """Does city and country like 'santiago' and 'chile' work?""" formatted_location = format_city_country('santiago', 'chile') self.assertEqual(formatted_location, "Santiago, Chile.")
def test_city_country(self): city_country = format_city_country('santiago', 'chile') self.assertEqual(city_country, 'Santiago, Chile')
def test_city_country_population(self): """Does city, country, population like 'santiago', 'chile' and 5000000 work?""" formatted_location = format_city_country('santiago', 'chile', '5000000') self.assertEqual(formatted_location, "Santiago, Chile - Population 5000000.")