Skip to content

Commit

Permalink
Another dep version difference
Browse files Browse the repository at this point in the history
This one only affects tests though

Signed-off-by: Rick Elrod <[email protected]>
  • Loading branch information
relrod committed Aug 23, 2024
1 parent 7658918 commit 6d3e453
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test_app/tests/lib/redis/test_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ def test_get_redisSTATUS_FAILED_redis_mode():
@mock.patch('ansible_base.lib.redis.client.DABRedisCluster.cluster_nodes', return_value='there')
# Mock the RedisCluster functions that attempt to connect on definition
@mock.patch('redis.cluster.NodesManager.initialize')
@mock.patch('redis._parsers.CommandsParser.initialize')
@mock.patch('redis.commands.CommandsParser.initialize')
def test_get_redis_status_cluster(cluster_nodes, nm_initialize, cp_initialize, cluster_state, expected_status, node_status):
with mock.patch('ansible_base.lib.redis.client.DABRedisCluster.cluster_info', return_value={'cluster_state': cluster_state}):
with mock.patch('ansible_base.lib.redis.client.determine_cluster_node_status', return_value=node_status):
Expand Down

0 comments on commit 6d3e453

Please sign in to comment.