Fixes mongodb tests

This commit is contained in:
Ask Solem 2016-12-07 14:24:53 -08:00
parent 4cfb7e52b2
commit 4fd70fbda8
1 changed files with 0 additions and 4 deletions

View File

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