Hah. Fixed a typo which passed with the same issue as before:
>>> from unittest import mock >>> my_mock = mock.Mock() >>> bool(my_mock.asset_called_once_with()) True
mocks objects evaluate to true!
Hah. Fixed a typo which passed with the same issue as before:
>>> from unittest import mock mock.asset_ called_ once_with( ))
>>> my_mock = mock.Mock()
>>> bool(my_
True
mocks objects evaluate to true!