This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author piscvau
Recipients piscvau
Date 2019-11-10.22:09:22
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1573423763.08.0.825923255021.issue38763@roundup.psfhosted.org>
In-reply-to
Content
Using a mock with side_effect, I would expect that assert_called_once returns True if the mock has been called.
Yet it returns None while call_count== 1 returns True.

If this is not a bug, I would welcome some explanation in the documentation.
History
Date User Action Args
2019-11-10 22:09:23piscvausetrecipients: + piscvau
2019-11-10 22:09:23piscvausetmessageid: <1573423763.08.0.825923255021.issue38763@roundup.psfhosted.org>
2019-11-10 22:09:23piscvaulinkissue38763 messages
2019-11-10 22:09:22piscvaucreate