def test_read_bad_formatted_list(self): self.assertIsNone(read_cities(self.format_url))
def test_read_wrong_url(self): self.assertIsNone(read_cities(self.wrong_url))
def test_read_large_list(self): self.assertEqual(len(read_cities(self.large_url)), 661)
def test_read_small_list(self): self.assertEqual(len(read_cities(self.small_url)), 2)
def test_read_empty_list(self): self.assertEqual(len(read_cities(self.empty_url)), 0)
def test_read_empty(self): self.assertIsNone(read_cities(self.format_url))