summaryrefslogtreecommitdiff
path: root/tests/test_commands.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_commands.py')
-rw-r--r--tests/test_commands.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/test_commands.py b/tests/test_commands.py
index 768d49f..8a6be40 100644
--- a/tests/test_commands.py
+++ b/tests/test_commands.py
@@ -1520,6 +1520,11 @@ class TestRedisCommands(object):
assert r.lrange('sorted', 0, 10) == \
[b'vodka', b'milk', b'gin', b'apple juice']
+ def test_sort_issue_924(self, r):
+ # Tests for issue https://github.com/andymccurdy/redis-py/issues/924
+ r.execute_command('SADD', 'issue#924', 1)
+ r.execute_command('SORT', 'issue#924')
+
def test_cluster_addslots(self, mock_cluster_resp_ok):
assert mock_cluster_resp_ok.cluster('ADDSLOTS', 1) is True