From 83570a74483794a1465e10c10e3405d0fbbf0589 Mon Sep 17 00:00:00 2001 From: Chayim Date: Thu, 23 Dec 2021 12:18:34 +0200 Subject: Support for SELECT (#1825) --- tests/test_commands.py | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'tests/test_commands.py') 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 @@ -695,6 +695,12 @@ class TestRedisCommands: assert isinstance(r.role()[1], int) 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() -- cgit v1.2.1