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 Justin Dray
Recipients Justin Dray, dybi, xtreak
Date 2018-10-08.11:24:10
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1538997850.62.0.545547206417.issue33643@psf.upfronthosting.co.za>
In-reply-to
Content
I can still reproduce this with python 3.6.5:

https://gist.github.com/justin8/c6a565d3b64222a9ba3a2568d1d830ee

no .assert_called() on autospec'd functions, but it works with normal mock.MagicMock()

ipython autocomplete shows assert_any_call, assert_called_once, assert_called_with and assert_has_calls as valid functions however?
History
Date User Action Args
2018-10-08 11:24:10Justin Draysetrecipients: + Justin Dray, dybi, xtreak
2018-10-08 11:24:10Justin Draysetmessageid: <1538997850.62.0.545547206417.issue33643@psf.upfronthosting.co.za>
2018-10-08 11:24:10Justin Draylinkissue33643 messages
2018-10-08 11:24:10Justin Draycreate