Exemplo n.º 1
0
 def test_country_dict_2(self):
     api_caller = ApiCaller()
     country_list = api_caller.get_country_list()
     country_dict = api_caller.get_country_id_dict()
     self.assertTrue(len(country_list) == len(country_dict))
Exemplo n.º 2
0
 def test_country_list_1(self):
     api_caller = ApiCaller()
     self.assertEqual('Afghanistan', api_caller.get_country_list()[0])
Exemplo n.º 3
0
 def test_country_list_2(self):
     api_caller = ApiCaller()
     self.assertTrue('Africa' not in api_caller.get_country_list())