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

def test_dictfield_strict(self):

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