class documentation
class DjangoTestAdapter(requests.adapters.HTTPAdapter): (source)
A transport adapter for `requests`, that makes requests via the Django WSGI app, rather than making actual HTTP requests over the network.
Method | __init__ |
Undocumented |
Method | close |
Undocumented |
Method | get |
Given a `requests.PreparedRequest` instance, return a WSGI environ dict. |
Method | send |
Make an outgoing request to the Django WSGI application. |
Instance Variable | app |
Undocumented |
Instance Variable | factory |
Undocumented |