mardi 16 mai 2017

Recording arguments and return values from python functions

I want to record all returned values from functions with specific arguments to mock some objects with real data.

Is there a good way to do that? I see I can get function arguments with mock calls, but not the return value.

Aucun commentaire:

Enregistrer un commentaire