I have a mocked function synchronize
and I want that whenever its called it is called its with specific argument
With side_effect and return_function I can only modify value that is returned. Is there a way to do this?
@patch('synchronize')
def test1(_synchronize):
_synchronize.return_value = None
Aucun commentaire:
Enregistrer un commentaire