'Test elevation when the request to API fails.'

@requests_mock.Mocker()
def test_elevation_query_fails(self, mock_req):

    mock_req.get(location_util.ELEVATION_URL, text='{}', status_code=401)
    elevation = location_util.elevation(10, 10, _test_real=True)
    assert (elevation == 0)
