[TIP] Mocking in every test.

Iñaki Malerba inakimmalerba at gmail.com
Wed Aug 17 04:53:36 PDT 2016


Hi!

Im having a doubt and can't find it on google. I have a function i need to
mock that it's called on the class init.
Is it any way to mock it on the test's class and not in every test that
involves that tested class?

Thanks in advance.
__
Martin Iñaki Malerba
inakimmalerba at gmail.com | +54 02945 15468443

Estudiante de Ing. en Electrónica UTN FRC
Vicepresidente Subcomisión Cómputos AVEIT
Miembro Centro de Inv. en Informática para la Ingeniería CIII
Tesorero Rama Estudiantil UTN FRC IEEE
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.idyll.org/pipermail/testing-in-python/attachments/20160817/581d74b0/attachment.html>


More information about the testing-in-python mailing list