Attempt to fix Travis build

This commit is contained in:
Ask Solem 2016-07-06 16:52:22 -07:00
parent e0dae2d5c8
commit c47e828568
1 changed files with 2 additions and 3 deletions

View File

@ -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: