Merge sequence field changes
This commit is contained in:
parent
3425264077
commit
3e8f02c64b
2 changed files with 1 additions and 3 deletions
|
|
@ -2241,7 +2241,6 @@ class FieldTest(unittest.TestCase):
|
|||
Post(title="MongoEngine",
|
||||
comments=[Comment(content="NoSQL Rocks"),
|
||||
Comment(content="MongoEngine Rocks")]).save()
|
||||
import ipdb; ipdb.set_trace();
|
||||
c = self.db['mongoengine.counters'].find_one({'_id': 'comment.id'})
|
||||
self.assertEqual(c['next'], 2)
|
||||
post = Post.objects.first()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue