Open bdrung opened 6 months ago
Calling Mock.called_once_with returns a mock object and asserting that always succeeds.
Mock.called_once_with
Replace Mock.called_once_with with Mock.assert_called_once_with and correct the expected parameters to the update_object call.
Mock.assert_called_once_with
update_object
Calling
Mock.called_once_with
returns a mock object and asserting that always succeeds.Replace
Mock.called_once_with
withMock.assert_called_once_with
and correct the expected parameters to theupdate_object
call.