コード例 #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))
コード例 #2
0
 def test_country_dict_1(self):
     api_caller = ApiCaller()
     self.assertTrue('Africa' not in api_caller.get_country_id_dict())