diff options
author | Chayim <chayim@users.noreply.github.com> | 2021-12-23 12:18:34 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-23 12:18:34 +0200 |
commit | 83570a74483794a1465e10c10e3405d0fbbf0589 (patch) | |
tree | acbe2eebce1998d6dfdf184a99aa159050507d7c /tests/test_commands.py | |
parent | 3347888bfa19f9e82a71ae6dc13a4837c87ea893 (diff) | |
download | redis-py-83570a74483794a1465e10c10e3405d0fbbf0589.tar.gz |
Support for SELECT (#1825)
Diffstat (limited to 'tests/test_commands.py')
-rw-r--r-- | tests/test_commands.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/test_commands.py b/tests/test_commands.py index 0912161..f4ffb63 100644 --- a/tests/test_commands.py +++ b/tests/test_commands.py @@ -696,6 +696,12 @@ class TestRedisCommands: assert isinstance(r.role()[2], list) @pytest.mark.onlynoncluster + def test_select(self, r): + assert r.select(5) + assert r.select(2) + assert r.select(9) + + @pytest.mark.onlynoncluster def test_slowlog_get(self, r, slowlog): assert r.slowlog_reset() unicode_string = chr(3456) + "abcd" + chr(3421) |