Author pawelj
Recipients pawelj
Date 2018-05-28.13:12:45
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1527513165.39.0.682650639539.issue33667@psf.upfronthosting.co.za>
In-reply-to
Content
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
History
Date User Action Args
2018-05-28 13:12:45paweljsetrecipients: + pawelj
2018-05-28 13:12:45paweljsetmessageid: <1527513165.39.0.682650639539.issue33667@psf.upfronthosting.co.za>
2018-05-28 13:12:45paweljlinkissue33667 messages
2018-05-28 13:12:45paweljcreate