Skip to content

Commit

Permalink
Add missed redismod at test_commands.py (#3369)
Browse files Browse the repository at this point in the history
Co-authored-by: Vladyslav Vildanov <117659936+vladvildanov@users.noreply.github.com>
  • Loading branch information
catap and vladvildanov committed Sep 27, 2024
1 parent 087d2cb commit 449ddf5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/test_commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -4970,6 +4970,7 @@ def test_latency_latest(self, r: redis.Redis):
def test_latency_reset(self, r: redis.Redis):
assert r.latency_reset() == 0

@pytest.mark.redismod
@skip_if_server_version_lt("4.0.0")
@skip_if_redis_enterprise()
def test_module_list(self, r):
Expand Down Expand Up @@ -5049,6 +5050,7 @@ def test_command_getkeysandflags(self, r: redis.Redis):
],
)

@pytest.mark.redismod
@pytest.mark.onlynoncluster
@skip_if_server_version_lt("4.0.0")
@skip_if_redis_enterprise()
Expand All @@ -5061,6 +5063,7 @@ def test_module(self, stack_r):
stack_r.module_load("/some/fake/path", "arg1", "arg2", "arg3", "arg4")
assert "Error loading the extension." in str(excinfo.value)

@pytest.mark.redismod
@pytest.mark.onlynoncluster
@skip_if_server_version_lt("7.0.0")
@skip_if_redis_enterprise()
Expand Down

0 comments on commit 449ddf5

Please sign in to comment.