diff options
author | Matus Valo <matusvalo@gmail.com> | 2021-09-12 01:03:09 +0200 |
---|---|---|
committer | Matus Valo <matusvalo@gmail.com> | 2021-09-12 01:03:09 +0200 |
commit | ef6ec99154f8e3b2aa384799e728731865888143 (patch) | |
tree | f3dbed54c8d5107a87227116aa7cb4f7bf508d39 /t | |
parent | e4fe3280ac528b100a399c30c90a9eec6dfecfec (diff) | |
download | kombu-ef6ec99154f8e3b2aa384799e728731865888143.tar.gz |
Use ANY from unittest instead of case.mock
Diffstat (limited to 't')
-rw-r--r-- | t/unit/transport/test_redis.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/t/unit/transport/test_redis.py b/t/unit/transport/test_redis.py index 0f585ca9..0841c41a 100644 --- a/t/unit/transport/test_redis.py +++ b/t/unit/transport/test_redis.py @@ -1466,7 +1466,7 @@ class test_RedisSentinel: ('localhost', 65534), ('localhost', 65535), ], - connection_class=mock.ANY, db=0, max_connections=10, + connection_class=ANY, db=0, max_connections=10, min_other_sentinels=0, password=None, sentinel_kwargs=None, socket_connect_timeout=None, socket_keepalive=None, socket_keepalive_options=None, socket_timeout=None, @@ -1489,7 +1489,7 @@ class test_RedisSentinel: connection.channel() patched.assert_called_once_with( [('localhost', 65532)], - connection_class=mock.ANY, db=0, max_connections=10, + connection_class=ANY, db=0, max_connections=10, min_other_sentinels=0, password=None, sentinel_kwargs=None, socket_connect_timeout=None, socket_keepalive=None, socket_keepalive_options=None, socket_timeout=None, |