diff options
Diffstat (limited to 'tests/test_commands.py')
-rw-r--r-- | tests/test_commands.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/test_commands.py b/tests/test_commands.py index af52fbd..556df84 100644 --- a/tests/test_commands.py +++ b/tests/test_commands.py @@ -653,12 +653,14 @@ class TestRedisCommands: def test_quit(self, r): assert r.quit() - @skip_if_server_version_lt('2.8.12') + @skip_if_server_version_lt("2.8.12") + @pytest.mark.onlynoncluster def test_role(self, r): - assert r.role()[0] == b'master' + assert r.role()[0] == b"master" assert isinstance(r.role()[1], int) assert isinstance(r.role()[2], list) + @pytest.mark.onlynoncluster def test_slowlog_get(self, r, slowlog): assert r.slowlog_reset() unicode_string = chr(3456) + "abcd" + chr(3421) |