unittest.mock assert_called_with is usually causing issues when using MagicMock since any mistaken name will assume it is a mock call, and do not pass real validations.
A
function | should.be_called_with(params)
function | should.not_be_called_with(params)
Could be really useful to avoid these kind of issues.