added drop_collection for test
This commit is contained in:
parent
b09c52fc7e
commit
7f2b686ab5
@ -992,6 +992,9 @@ class FieldTest(unittest.TestCase):
|
||||
class Company(Document):
|
||||
name = StringField()
|
||||
|
||||
Product.drop_collection()
|
||||
Company.drop_collection()
|
||||
|
||||
ten_gen = Company(name='10gen')
|
||||
ten_gen.save()
|
||||
mongodb = Product(name='MongoDB', company=ten_gen)
|
||||
|
Loading…
x
Reference in New Issue
Block a user