Django: Getting Started Transcripts
Chapter: Users and Account Management
Lecture: Chapter review
Login or purchase this course to watch this video and the rest of the course contents.
0:00 I've already created a test people file. Let's review it. Here are the two tests I'm proposing for the people module.
0:11 The test readers. Signal test is nice and short Line seven creates a new user
0:17 object, and line 8 asserts that the Associated Reader Object has been attached. The 44 test goes to an invalid URL
0:25 and then looks for the line from the Nabokov quote that I put in the page, and once again, all our tests are passing, I skipped over the login page.
0:41 Like I said, it would be similar to writing the 404, so I'll leave that as an exercise to you.