December 2016
Beginner to intermediate
694 pages
14h 2m
English
Django provides a set of tools that come in handy when writing tests.
The test client is a Python class that acts as a dummy web browser, allowing you to test your views and interact with your Django-powered application programmatically. Some of the things you can do with the test client are:
GET and POST requests on a URL and observe the response-everything from low-level HTTP (result headers and status codes) to page content.Note that the test client is not intended to be a replacement for Selenium (for more ...
Read now
Unlock full access