unit tests in Django - How to call a post function of a class based view
I am trying to test the post function using a unit test. I used client.post() feature but that only hits the url for some reason. It does not perform the entire function. Any ideas why? How can I fix this?
Aucun commentaire:
Enregistrer un commentaire