diff options
Diffstat (limited to 'tests/test_connection_pool.py')
-rw-r--r-- | tests/test_connection_pool.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/test_connection_pool.py b/tests/test_connection_pool.py index 138fcad..3e1fbae 100644 --- a/tests/test_connection_pool.py +++ b/tests/test_connection_pool.py @@ -514,7 +514,7 @@ class TestConnection: @pytest.mark.onlynoncluster @skip_if_server_version_lt("2.8.8") - @skip_if_redis_enterprise + @skip_if_redis_enterprise() def test_busy_loading_disconnects_socket(self, r): """ If Redis raises a LOADING error, the connection should be @@ -526,7 +526,7 @@ class TestConnection: @pytest.mark.onlynoncluster @skip_if_server_version_lt("2.8.8") - @skip_if_redis_enterprise + @skip_if_redis_enterprise() def test_busy_loading_from_pipeline_immediate_command(self, r): """ BusyLoadingErrors should raise from Pipelines that execute a @@ -542,7 +542,7 @@ class TestConnection: @pytest.mark.onlynoncluster @skip_if_server_version_lt("2.8.8") - @skip_if_redis_enterprise + @skip_if_redis_enterprise() def test_busy_loading_from_pipeline(self, r): """ BusyLoadingErrors should be raised from a pipeline execution @@ -558,7 +558,7 @@ class TestConnection: assert not pool._available_connections[0]._sock @skip_if_server_version_lt("2.8.8") - @skip_if_redis_enterprise + @skip_if_redis_enterprise() def test_read_only_error(self, r): "READONLY errors get turned in ReadOnlyError exceptions" with pytest.raises(redis.ReadOnlyError): @@ -584,7 +584,7 @@ class TestConnection: "path=/path/to/socket,db=0", ) - @skip_if_redis_enterprise + @skip_if_redis_enterprise() def test_connect_no_auth_supplied_when_required(self, r): """ AuthenticationError should be raised when the server requires a @@ -595,7 +595,7 @@ class TestConnection: "DEBUG", "ERROR", "ERR Client sent AUTH, but no password is set" ) - @skip_if_redis_enterprise + @skip_if_redis_enterprise() def test_connect_invalid_password_supplied(self, r): "AuthenticationError should be raised when sending the wrong password" with pytest.raises(redis.AuthenticationError): |