jeudi 3 décembre 2020

Django tests are not working but views do

I'm trying to test to insert data into db to test if My views are working. What could i do to see what's happening inside the page?

I've one error, when i try to assert if data that I've sent to My form exists.

The stranger thing is that when i run My application with runserver, everything works fine, but when i'm in test, the view doesn't work.

Aucun commentaire:

Enregistrer un commentaire