0.7.9
This commit is contained in:
parent
2459f9b0aa
commit
3b3738b36b
7 changed files with 28 additions and 9 deletions
|
|
@ -2201,7 +2201,7 @@ class FieldTest(unittest.TestCase):
|
|||
comments=[Comment(content="NoSQL Rocks"),
|
||||
Comment(content="MongoEngine Rocks")]).save()
|
||||
|
||||
c = self.db['mongoengine.counters'].find_one({'_id': 'Comment.id'})
|
||||
c = self.db['mongoengine.counters'].find_one({'_id': 'comment.id'})
|
||||
self.assertEqual(c['next'], 2)
|
||||
post = Post.objects.first()
|
||||
self.assertEqual(1, post.comments[0].id)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue