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 guboi72
Recipients guboi72, jekin000, jwdevel, michael.foord, rbcollins
Date 2017-11-16.17:50:57
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1510854657.26.0.213398074469.issue26752@psf.upfronthosting.co.za>
In-reply-to
Content
As pointed here: https://github.com/testing-cabal/mock/issues/353,

this issue is related to the method assert_has_calls or probably any calls that use the method _call_matcher to match calls. Given that you mock a class and spec it, since we always bind to the _spec_signature (e.g. the constructor signature), when it is a method call then it bind() throws a TypeError looking like `missing a require argument`. A possible solution would be to include method signatures into the spec.
History
Date User Action Args
2017-11-16 17:50:57guboi72setrecipients: + guboi72, rbcollins, michael.foord, jekin000, jwdevel
2017-11-16 17:50:57guboi72setmessageid: <1510854657.26.0.213398074469.issue26752@psf.upfronthosting.co.za>
2017-11-16 17:50:57guboi72linkissue26752 messages
2017-11-16 17:50:57guboi72create