comments update after having tested PyMongo 3.0.1
This commit is contained in:
@@ -513,7 +513,7 @@ class IndexesTest(unittest.TestCase):
|
||||
self.assertEqual(BlogPost.objects.count(), 10)
|
||||
self.assertEqual(BlogPost.objects.hint().count(), 10)
|
||||
|
||||
# PyMongo 3.0 bug
|
||||
# PyMongo 3.0 bug only, works correctly with 2.X and 3.0.1+ versions
|
||||
if pymongo.version != '3.0':
|
||||
self.assertEqual(BlogPost.objects.hint([('tags', 1)]).count(), 10)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user