Author pawelj
Recipients pawelj
Date 2018-05-28.13:12:45
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
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:45paweljsetrecipients: + pawelj
2018-05-28 13:12:45paweljsetmessageid: <>
2018-05-28 13:12:45paweljlinkissue33667 messages
2018-05-28 13:12:45paweljcreate