Django: Getting Started Transcripts
Chapter: Django ORM and Databases
Lecture: Your first Django ORM test

Login or purchase this course to watch this video and the rest of the course contents.
0:16 Stringify, my first test checks the stringification of a book, the book will get converted into a string,
0:25 meaning the Dunder string method will be called, and the test will check that it is formatted correctly.
0:31 This test calls the print state helper method on entry and exit. Again so that you can see what is going on.

Talk Python's Mastodon Michael Kennedy's Mastodon