create tests folder with dunderinit. --ch15l001--
First unit test with a unittest.mock for login view. --ch15l002--
Add accounts urls include to main urls. --ch15l004--
Add accounts urls.py with login. --ch15l005--
Just import authenticate in views.py. --ch15l006--
placeholder login view. --ch15l007--
placeholder login view now takes a request. --ch15l008--
placeholder login view now returns empty response. --ch15l009--
3 new tests for login view. --ch15l012--
add auth_login import to view. --ch15l013--
Working login view. --ch15l015--
First unit test for auth backend. --ch15l016--
Placeholder auth backend. --ch15l017--
Add requests to requirements.txt. --ch15l018--
Do the request.post. --ch15l019--
new test should return none if request fails. --ch15l020--
move patch to class level and add test for status not okay. --ch15l021--
test authenticate can find user by email. --ch15l022--
just return the first user in the database. --ch15l023--
add check for response.json() status. --ch15l024--