Fix test
This commit is contained in:
parent
3f49923298
commit
6dcd7006d0
@ -1040,7 +1040,7 @@ class FieldTest(unittest.TestCase):
|
|||||||
|
|
||||||
class BrandGroup(Document):
|
class BrandGroup(Document):
|
||||||
title = StringField(max_length=255, primary_key=True)
|
title = StringField(max_length=255, primary_key=True)
|
||||||
brands = SortedListField(ReferenceField("Brand", dbref=True))
|
brands = ListField(ReferenceField("Brand", dbref=True))
|
||||||
|
|
||||||
Brand.drop_collection()
|
Brand.drop_collection()
|
||||||
BrandGroup.drop_collection()
|
BrandGroup.drop_collection()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user