-
-
Notifications
You must be signed in to change notification settings - Fork 151
Open
Labels
Description
I've tried to use spy on object properties, but it fails with AttributeError: can't set attribute in unittest/mock.py.
I've started looking into adding support for (through PropertyMock), but failed to make it work without accessing/calling the property method during setup of the spy - it would be better to only call it when it's accessed from the test.
I would appreciate any feedback / help in this regard.
sokai