Message317849
When method of mocked object is called multiple times with mutable object as parameter and attribute of this object has been updated between calls, mock_calls is only aware of the last value. I think it unexpected behaviour, that mock doesn't track value changes.
I've attached example code |
|
Date |
User |
Action |
Args |
2018-05-28 13:12:45 | pawelj | set | recipients:
+ pawelj |
2018-05-28 13:12:45 | pawelj | set | messageid: <1527513165.39.0.682650639539.issue33667@psf.upfronthosting.co.za> |
2018-05-28 13:12:45 | pawelj | link | issue33667 messages |
2018-05-28 13:12:45 | pawelj | create | |
|