From 80f80cd31f0aff842169bbcf5a07547111937c0f Mon Sep 17 00:00:00 2001 From: Rik Date: Tue, 25 Nov 2014 19:29:12 +0100 Subject: [PATCH] fixed more tests that were using undefined model fields --- tests/fields/fields.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/fields/fields.py b/tests/fields/fields.py index 75d698c7..a95001b4 100644 --- a/tests/fields/fields.py +++ b/tests/fields/fields.py @@ -1814,7 +1814,7 @@ class FieldTest(unittest.TestCase): Animal.drop_collection() Ocorrence.drop_collection() - a = Animal(nam="Leopard", tag="heavy", + a = Animal(name="Leopard", tag="heavy", owner=Owner(tp='u', name="Wilson Júnior") ) a.save() @@ -1864,7 +1864,7 @@ class FieldTest(unittest.TestCase): Animal.drop_collection() Ocorrence.drop_collection() - a = Animal(nam="Leopard", tag="heavy", + a = Animal(name="Leopard", tag="heavy", owner=Owner(tags=['cool', 'funny'], name="Wilson Júnior") )