'Test elevation when the request to API fails.'

@patch('homeassistant.util.location.requests.get', side_effect=requests.RequestException)
def test_elevation_query_raises(self, mock_get):

    elevation = location_util.elevation(10, 10, _test_real=True)
    assert (elevation == 0)
