create tests folder with dunderinit. --ch16l001--
First unit test with a unittest.mock for login view. --ch16l002--
Add accounts urls include to main urls. --ch16l004--
Add accounts urls.py with login. --ch16l005--
Just import authenticate in views.py. --ch16l006--
placeholder login view. --ch16l007--
placeholder login view now takes a request. --ch16l008--
placeholder login view now returns empty response. --ch16l009--
3 new tests for login view. --ch16l012--
add auth_login import to view. --ch16l013--
Working login view. --ch16l015--
First unit test for auth backend. --ch16l016--
Placeholder auth backend. --ch16l017--
Add requests to requirements.txt. --ch16l018--
Do the request.post. --ch16l019--
new test should return none if request fails. --ch16l020--
move patch to class level and add test for status not okay. --ch16l021--
test authenticate can find user by email. --ch16l022--
just return the first user in the database. --ch16l023--
add check for response.json() status. --ch16l024--