We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0801cf8 commit 7fd19d7Copy full SHA for 7fd19d7
tests/test_function.py
@@ -1,6 +1,7 @@
1
import pytest
2
3
from redis.exceptions import ResponseError
4
+from .conftest import skip_if_server_version_lt
5
6
function = "redis.register_function('myfunc', function(keys, args) return args[1] end)"
7
function2 = "redis.register_function('hello', function() return 'Hello World' end)"
@@ -10,7 +11,7 @@
10
11
return redis.call('GET', keys[1]) end)"
12
13
-# @skip_if_server_version_lt("7.0.0") turn on after redis 7 release
14
+@skip_if_server_version_lt("7.0.0")
15
class TestFunction:
16
@pytest.fixture(autouse=True)
17
def reset_functions(self, unstable_r):
0 commit comments