class documentation

class DjangoTestAdapter(requests.adapters.HTTPAdapter): (source)

View In Hierarchy

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_environ 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
def __init__(self): (source)

Undocumented

def close(self): (source)

Undocumented

def get_environ(self, request): (source)

Given a `requests.PreparedRequest` instance, return a WSGI environ dict.

def send(self, request, *args, **kwargs): (source)

Make an outgoing request to the Django WSGI application.

Undocumented

Undocumented