mardi 31 mars 2020

Python:How can I input file in test function?

I have function where my first parameter is File_name, So in my test function I need to input my file_name ,so I did it manual.How can I automatically create the input file from within the test? I use "mockpatch".

Aucun commentaire:

Enregistrer un commentaire