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 eric.araujo
Recipients Julian, brett.cannon, chris.jerdonek, daniel.urban, eric.araujo, ezio.melotti, michael.foord, pablomouzo, r.david.murray
Date 2012-09-19.14:46:54
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1348066015.36.0.806258868632.issue11664@psf.upfronthosting.co.za>
In-reply-to
Content
A data point: at work I follow Pyramid testing guidelines which tell you not to import code under test at module level, but in your test functions, so that if you have an error your tests do start and you see the error under the test method.  This means that I use mock.patch and not mock.patch.object, as my modules are not imported.
History
Date User Action Args
2012-09-19 14:46:55eric.araujosetrecipients: + eric.araujo, brett.cannon, ezio.melotti, r.david.murray, michael.foord, pablomouzo, daniel.urban, chris.jerdonek, Julian
2012-09-19 14:46:55eric.araujosetmessageid: <1348066015.36.0.806258868632.issue11664@psf.upfronthosting.co.za>
2012-09-19 14:46:54eric.araujolinkissue11664 messages
2012-09-19 14:46:54eric.araujocreate