fixed tests that were using undefined model fields

This commit is contained in:
Rik
2014-06-27 14:43:56 +02:00
committed by Wilson Júnior
parent 06064decd2
commit 67bf6afc89
4 changed files with 10 additions and 3 deletions

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())