Closed GoogleCodeExporter closed 8 years ago
Python 2.7.7
mock 1.0.1
Original comment by brett.tr...@workiva.com
on 15 Aug 2014 at 5:09
Because __dict__ on a mock object can't be replaced like that! If you don't
replace __dict__ it works fine.
Original comment by fuzzyman
on 15 Aug 2014 at 6:32
The odd thing is "a" works fine as is, but its not until I try to assign an
arbitrary property on a different mock that it gets angry.
Original comment by brett.tr...@workiva.com
on 15 Aug 2014 at 3:19
Original issue reported on code.google.com by
brett.tr...@workiva.com
on 15 Aug 2014 at 5:05