def test_domain_object_error(self): """Test DomainObject errors work.""" user = User() user.name = "John" d = user.dictize() user.undictize(d)