From 4fd70fbda8e54bf17368fa11fb9f686649bf6327 Mon Sep 17 00:00:00 2001 From: Ask Solem Date: Wed, 7 Dec 2016 14:24:53 -0800 Subject: [PATCH] Fixes mongodb tests --- t/unit/transport/test_mongodb.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/t/unit/transport/test_mongodb.py b/t/unit/transport/test_mongodb.py index b21be7f3..99cc5531 100644 --- a/t/unit/transport/test_mongodb.py +++ b/t/unit/transport/test_mongodb.py @@ -160,7 +160,6 @@ class test_mongodb_channel(BaseMongoDBChannelCase): remove=True, sort=[ ('priority', pymongo.ASCENDING), - ('$natural', pymongo.ASCENDING), ], ) @@ -340,7 +339,6 @@ class test_mongodb_channel(BaseMongoDBChannelCase): 'broadcast', 'find', tailable=True, query={'queue': 'fanout_exchange'}, - sort=[('$natural', pymongo.ASCENDING)], ) if pymongo.version_tuple >= (3, ): @@ -353,7 +351,6 @@ class test_mongodb_channel(BaseMongoDBChannelCase): 'broadcast', 'find', cursor_type=pymongo.CursorType.TAILABLE, filter={'queue': 'fanout_exchange1'}, - sort=[('$natural', pymongo.ASCENDING)], ) @@ -400,7 +397,6 @@ class test_mongodb_channel_ttl(BaseMongoDBChannelCase): remove=True, sort=[ ('priority', pymongo.ASCENDING), - ('$natural', pymongo.ASCENDING), ], ) self.assert_operation_called_with(