From 492f61cf34ee700bdfc20bdb101d492ceb9f4bd5 Mon Sep 17 00:00:00 2001 From: Daniel M Date: Sat, 21 Oct 2023 15:43:36 -0400 Subject: [PATCH] fix:tests --- test/test_mixins/test_server_commands.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/test_mixins/test_server_commands.py b/test/test_mixins/test_server_commands.py index 7f10c700..5133bcc8 100644 --- a/test/test_mixins/test_server_commands.py +++ b/test/test_mixins/test_server_commands.py @@ -6,6 +6,7 @@ from redis.exceptions import ResponseError from fakeredis._commands import SUPPORTED_COMMANDS +from test.testtools import fake_only def test_swapdb(r, create_redis): @@ -43,7 +44,7 @@ def test_lastsave(r: redis.Redis): assert isinstance(r.lastsave(), datetime) -@pytest.mark.min_server('7') +@fake_only def test_command(r: redis.Redis): commands_dict = r.command() one_word_commands = {cmd for cmd in SUPPORTED_COMMANDS if ' ' not in cmd}