diff options
-rw-r--r-- | tests/test_commands.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/test_commands.py b/tests/test_commands.py index b7fa6bf..ceb1236 100644 --- a/tests/test_commands.py +++ b/tests/test_commands.py @@ -2547,7 +2547,7 @@ class TestRedisCommands: assert r.geosearch('barcelona', member='place3', radius=100, unit='km', count=2) == [b'place3', b'\x80place2'] assert r.geosearch('barcelona', member='place3', radius=100, - unit='km', count=1, any=1)[0] \ + unit='km', count=1, any=True)[0] \ in [b'place1', b'place3', b'\x80place2'] @skip_unless_arch_bits(64) @@ -2652,7 +2652,8 @@ class TestRedisCommands: # use any without count with pytest.raises(exceptions.DataError): - assert r.geosearch('barcelona', member='place3', radius=100, any=1) + assert r.geosearch('barcelona', member='place3', + radius=100, any=True) @skip_if_server_version_lt('6.2.0') def test_geosearchstore(self, r): |