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 authored Sep 4, 2024
1 parent 6c94faa commit e00f3d2
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 @@ -4964,6 +4964,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 @@ -5033,6 +5034,7 @@ def test_command_getkeysandflags(self, r: redis.Redis):
[b"mylist2", [b"RW", b"insert"]],
]

@pytest.mark.redismod
@pytest.mark.onlynoncluster
@skip_if_server_version_lt("4.0.0")
@skip_if_redis_enterprise()
Expand All @@ -5045,6 +5047,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 e00f3d2

Please sign in to comment.