From c47e828568e4a5d5d5e4bfdd8edc80ff90e9bdc8 Mon Sep 17 00:00:00 2001 From: Ask Solem Date: Wed, 6 Jul 2016 16:52:22 -0700 Subject: [PATCH] Attempt to fix Travis build --- kombu/tests/transport/test_redis.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/kombu/tests/transport/test_redis.py b/kombu/tests/transport/test_redis.py index 3b75ab35..286907ba 100644 --- a/kombu/tests/transport/test_redis.py +++ b/kombu/tests/transport/test_redis.py @@ -336,9 +336,8 @@ class test_Channel(Case): self.channel._do_restore_message( pl2, 'ex', 'rkey', client, ) - client.rpush.assert_has_calls([ - call('george', spl2), call('elaine', spl2), - ], any_order=True) + client.rpush.assert_any_call('george', spl2) + client.rpush.assert_any_call('elaine', spl2) client.rpush.side_effect = KeyError() with patch('kombu.transport.redis.crit') as crit: