[TIP] Can you mock a function that has a decorator applies to it?

John Wong gokoproject at gmail.com
Wed Jul 4 10:35:53 PDT 2012

There are times when decorator really shine and I don't see a way to Mock
out the decorator. I know it replaces the current function.... is there a
way out of this?


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.idyll.org/pipermail/testing-in-python/attachments/20120704/e1427e42/attachment.htm>

More information about the testing-in-python mailing list