@mock.patch(GEOCODE)
def test_geocode_wrapper_errors_if_no_query_parameters_supplied(self, mocked_geocode):
    with pytest.raises(ValueError) as e:
        _geocode()
    assert ('No query parameters supplied' in str(e.value))
@mock.patch(GEOCODE)
def test_geocode_wrapper_errors_if_no_query_parameters_supplied(self, mocked_geocode):
    with pytest.raises(ValueError) as e:
        _geocode()
    assert ('No query parameters supplied' in str(e.value))