Merge branch 'master' of git://github.com/hmarr/mongoengine

This commit is contained in:
blackbrrr
2010-01-23 18:41:52 -06:00
5 changed files with 66 additions and 14 deletions

View File

@@ -240,7 +240,7 @@ class DocumentTest(unittest.TestCase):
info = BlogPost.objects._collection.index_information()
# _id, types, '-date', 'tags', ('cat', 'date')
self.assertEqual(len(info), 5)
self.assertEqual(len(info), 5)
# Indexes are lazy so use list() to perform query
list(BlogPost.objects)