Core: learn it Step 9 of 16 on the Backend Developer (Django) roadmap

The test client

The test client sends fake requests to your views so you can check the status code, the template used and the page content. Use it to confirm that logged-out users are redirected away from private pages.

Resources

More in Testing Django apps

See it on the Backend Developer (Django) roadmap