Configuring the Client for Testing with Pytest and Django REST
Django REST framework provides a class called APIClient based on the client class from the Django Testing but is very useful when making requests to the API when running tests.
If you have also worked with pytest, you'll find that writing tests are ...
koladev.hashnode.dev1 min read