I have a simple MovieDB app written in Django where webpages differ slightly between logged in view and guest user view.
I have a movies list page which doesn't change for logged in user and anonymous user except for sign-in/register links to sign-out. I am currently testing template used, no. of movies listed, movie title, nav-bar links (home, search page, login/register, sign-out, user account). I want to write tests to check these for both type of user only once.
Aucun commentaire:
Enregistrer un commentaire