diff --git a/docs/api-guide/testing.md b/docs/api-guide/testing.md index 5f27c23e4..a6ecc7557 100644 --- a/docs/api-guide/testing.md +++ b/docs/api-guide/testing.md @@ -202,6 +202,7 @@ This exposes exactly the same interface as if you were using a requests session directly. from rest_framework.test import RequestsClient + client = RequestsClient() response = client.get('http://testserver/users/') assert response.status_code == 200