[Mailman-Developers] Queries regarding patches & mocking in postorius

Pranjal Yadav godricglow at gmail.com
Fri Mar 6 13:00:59 CET 2015


Hello

I'm trying to understand how patches work in postorius, I read about monkey
patches and I'm aware how they work. All such patches have a predefined
return which is supplied at runtime and the same must be happening since
all the tests are running fine however if that is the case then there has
to be a place where I can find the code for these patches which I could not.

Q1. Is it that mocking mm-api calls provide these patch return values  from
the vcr cassette logs(.yaml)

Q2. Is there a better way the pdb tarce to figure out how these objects are
handled at runtime? Specially while running tests?

-- 

*Pranjal Yadav*

*IIT Kharagpur*


More information about the Mailman-Developers mailing list