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--
Make test for response not ok more explicit. --ch15l025--
check response.ok before returning user. --ch15l026--
test authenticate will create a new user if necessary. --ch15l027--
try/except to return empty user. --ch15l028--
create new user with correct email. --ch15l029--
New test for get_user if in db. --ch15l030--
placeholder get_user method. --ch15l031--
get_user now takes email as arg. --ch15l032--
wrong call to get with no args. --ch15l033--
Correctly call ORM with email. --ch15l034--
Mocky test for get_user when no such user. --ch15l035--
try/except in get-user, return none if doesnt exist. --ch15l036--
New unit test module for custom user. --ch15l037--
Minimal custom user model. --ch15l038--
Wire up custom user model and auth backend in settings. --ch15l039--