MCPcopy
hub / github.com/redis/redis-py / test_geoadd_invalid_params

Method test_geoadd_invalid_params

tests/test_commands.py:5801–5803  ·  view source on GitHub ↗
(self, r)

Source from the content-addressed store, hash-verified

5799
5800 @skip_if_server_version_lt("3.2.0")
5801 def test_geoadd_invalid_params(self, r):
5802 with pytest.raises(exceptions.RedisError):
5803 r.geoadd("barcelona", (1, 2))
5804
5805 @skip_if_server_version_lt("3.2.0")
5806 def test_geodist(self, r):

Callers

nothing calls this directly

Calls 1

geoaddMethod · 0.80

Tested by

no test coverage detected