def test_parse_info(self): example_json = {"cod": "404", "message": "city not found"} error_msj = 'ERROR\nNo se pudo consultar la información\n' Weather.parse_weather_info(self, example_json) self.assertEqual(error_msj, Weather.parse_weather_info(self, example_json))