Skip to content

Commit

Permalink
fix:tests
Browse files Browse the repository at this point in the history
  • Loading branch information
cunla committed Oct 21, 2023
1 parent c4dbb0f commit 492f61c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/test_mixins/test_server_commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down Expand Up @@ -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}
Expand Down

0 comments on commit 492f61c

Please sign in to comment.