fixed tests that were using undefined model fields

This commit is contained in:
Rik
2014-11-29 23:20:30 -02:00
committed by Wilson Júnior
parent 06064decd2
commit 67bf6afc89
4 changed files with 10 additions and 3 deletions
+2
View File
@@ -947,6 +947,8 @@ class FieldTest(unittest.TestCase):
class Asset(Document):
name = StringField(max_length=250, required=True)
path = StringField()
title = StringField()
parent = GenericReferenceField(default=None)
parents = ListField(GenericReferenceField())
children = ListField(GenericReferenceField())