diff --git a/t/unit/transport/test_redis.py b/t/unit/transport/test_redis.py index dcfcc584..0e4581e8 100644 --- a/t/unit/transport/test_redis.py +++ b/t/unit/transport/test_redis.py @@ -573,19 +573,19 @@ class test_Channel: self.channel._put('george', msg1) client().lpush.assert_called_with( - self.channel._q_for_pri('george', 6), dumps(msg1), + self.channel._q_for_pri('george', 3), dumps(msg1), ) msg2 = {'properties': {'priority': 313}} self.channel._put('george', msg2) client().lpush.assert_called_with( - self.channel._q_for_pri('george', 0), dumps(msg2), + self.channel._q_for_pri('george', 9), dumps(msg2), ) msg3 = {'properties': {}} self.channel._put('george', msg3) client().lpush.assert_called_with( - self.channel._q_for_pri('george', 9), dumps(msg3), + self.channel._q_for_pri('george', 0), dumps(msg3), ) def test_delete(self):