@staticmethod
def _mocked_response(alpha_2, alpha_3, numeric, continent):
    'Builds a mocked response for the patched country_iso_code function.'
    response = mock.Mock()
    response.alpha_2 = alpha_2
    response.alpha_3 = alpha_3
    response.numeric = numeric
    response.continent = continent
    return response
Builds a mocked response for the patched country_iso_code function.
@staticmethod
def _mocked_response(alpha_2, alpha_3, numeric, continent):
    
    response = mock.Mock()
    response.alpha_2 = alpha_2
    response.alpha_3 = alpha_3
    response.numeric = numeric
    response.continent = continent
    return response