You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
======================================================================
ERROR: testSchemaDictProperty (tests.test_schema.PropertyTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/sirex/devel/couchdbkit/tests/test_schema.py", line 1356, in testSchemaDictProperty
b1.d = {23: {'i': 321}}
File "/home/sirex/devel/couchdbkit/couchdbkit/schema/base.py", line 216, in __setattr__
object.__setattr__(self, key, value)
File "/home/sirex/devel/couchdbkit/couchdbkit/schema/properties.py", line 109, in __set__
value = self.validate(value, required=False)
File "/home/sirex/devel/couchdbkit/couchdbkit/schema/properties_proxy.py", line 318, in validate
value = self.validate_dict_schema(value, required=required)
File "/home/sirex/devel/couchdbkit/couchdbkit/schema/properties_proxy.py", line 323, in validate_dict_schema
v.validate(required=required)
AttributeError: 'dict' object has no attribute 'validate'
Here is patch to tests, that demonstrates, how to reprodice this bug:
This bug only occurs, when trying to assign dictionary to bounded object. When
I try to do this on new object, everything works ok.
The text was updated successfully, but these errors were encountered: