'Ensure that list field handles validation if provided
a strict field type.'

def test_list_field_strict(self):

    class Simple(Document, ):
        mapping = ListField(field=IntField())
    Simple.drop_collection()
    e = Simple()
    e.mapping = [1]
    e.save()
    with self.assertRaises(ValidationError):
        e.mapping = ['abc']
        e.save()
