lundi 16 juillet 2018

Python Unit testing a program that uses API's

I am writing a program that calls API's then manipulates the response and patches to another API. What would be the best way to unit test this? Just hard code some of the JSON responses from both API's and assert they equal what I expect?

Aucun commentaire:

Enregistrer un commentaire