mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-08-02 11:30:12 +03:00
Update - add a newline after import
let's have a newline after RequestsClient import
This commit is contained in:
parent
43c4a1fedb
commit
9c785f8725
|
@ -202,6 +202,7 @@ This exposes exactly the same interface as if you were using a requests session
|
||||||
directly.
|
directly.
|
||||||
|
|
||||||
from rest_framework.test import RequestsClient
|
from rest_framework.test import RequestsClient
|
||||||
|
|
||||||
client = RequestsClient()
|
client = RequestsClient()
|
||||||
response = client.get('http://testserver/users/')
|
response = client.get('http://testserver/users/')
|
||||||
assert response.status_code == 200
|
assert response.status_code == 200
|
||||||
|
|
Loading…
Reference in New Issue
Block a user