Python 2.5 and 3.1 support confirmed
This commit is contained in:
parent
44bd8cb85b
commit
dd4af2df81
12 changed files with 68 additions and 55 deletions
|
|
@ -9,7 +9,7 @@ from bson import ObjectId
|
|||
|
||||
from mongoengine import *
|
||||
from mongoengine.connection import get_connection
|
||||
from mongoengine.python3_support import PY3
|
||||
from mongoengine.python_support import PY3
|
||||
from mongoengine.tests import query_counter
|
||||
from mongoengine.queryset import (QuerySet, QuerySetManager,
|
||||
MultipleObjectsReturned, DoesNotExist,
|
||||
|
|
@ -1455,6 +1455,8 @@ class QuerySetTest(unittest.TestCase):
|
|||
name = StringField()
|
||||
parent = ReferenceField('self', reverse_delete_rule=CASCADE)
|
||||
|
||||
Category.drop_collection()
|
||||
|
||||
num_children = 3
|
||||
base = Category(name='Root')
|
||||
base.save()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue