vendredi 2 mars 2018

Run a flask API from a client test and shut it down after testing

I am implementing an API client for a specific server and I want to test it.

Is there a way to implement a Flask API to mock the true API I am developing the client for, run it within the setUp and shut it down within the tearDown.

Aucun commentaire:

Enregistrer un commentaire