'Test if elevation API returns a non JSON value.'

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

    mock_req.get(location_util.ELEVATION_URL, text='{    I    am    not    JSON    }')
    elevation = location_util.elevation(10, 10, _test_real=True)
    assert (elevation == 0)
