Added 'strict' meta parameter

This commit is contained in:
Axel Haustant
2015-04-13 17:49:08 +02:00
parent 19dc312128
commit cd2d9517a0
3 changed files with 115 additions and 3 deletions

View File

@@ -3160,7 +3160,7 @@ class FieldTest(unittest.TestCase):
def test_undefined_field_exception(self):
"""Tests if a `FieldDoesNotExist` exception is raised when trying to
set a value to a field that's not defined.
instanciate a document with a field that's not defined.
"""
class Doc(Document):