diff options
-rw-r--r-- | tests/test_commands.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test_commands.py b/tests/test_commands.py index 41c24dc..04aeca4 100644 --- a/tests/test_commands.py +++ b/tests/test_commands.py @@ -901,6 +901,8 @@ class TestRedisCommands(object): r.zadd('a', a1=1, a2=2, a3=3) assert r.zcount('a', '-inf', '+inf') == 3 assert r.zcount('a', 1, 2) == 2 + assert r.zcount('a', '(' + str(1), 2) == 1 + assert r.zcount('a', 1, '(' + str(2)) == 1 assert r.zcount('a', 10, 20) == 0 def test_zincrby(self, r): |