Comment 7 for bug 2052727

Revision history for this message
Chris Peterson (cpete) wrote (last edit ):

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!