From a4108795bcc659cd168a48f09ebe81f3e8031a4f Mon Sep 17 00:00:00 2001 From: "Kirill A. Korinsky" Date: Wed, 4 Sep 2024 15:44:28 +0200 Subject: [PATCH] Add missed redismod at test_commands.py (#3369) Co-authored-by: Vladyslav Vildanov <117659936+vladvildanov@users.noreply.github.com> --- tests/test_commands.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/test_commands.py b/tests/test_commands.py index 42376b50d8..f478663eea 100644 --- a/tests/test_commands.py +++ b/tests/test_commands.py @@ -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): @@ -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() @@ -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()