class documentation

Mixin with common methods between Client and AsyncClient.

Method check_exception Look for a signaled exception, clear the current context exception data, re-raise the signaled exception, and clear the signaled exception from the local cache.
Method force_login Undocumented
Method login Set the Factory to appear as if it has successfully logged into a site.
Method logout Log out the user by removing the cookies and session object.
Method store_exc_info Store exceptions when they are generated by a view.
Instance Variable cookies Undocumented
Instance Variable exc_info Undocumented
Property session Return the current session variables.
Method _login Undocumented
Method _parse_json Undocumented
def check_exception(self, response): (source)

Look for a signaled exception, clear the current context exception data, re-raise the signaled exception, and clear the signaled exception from the local cache.

def force_login(self, user, backend=None): (source)

Undocumented

def login(self, **credentials): (source)

Set the Factory to appear as if it has successfully logged into a site. Return True if login is possible or False if the provided credentials are incorrect.

def logout(self): (source)

Log out the user by removing the cookies and session object.

def store_exc_info(self, **kwargs): (source)

Store exceptions when they are generated by a view.

Undocumented

Return the current session variables.

def _login(self, user, backend=None): (source)

Undocumented

def _parse_json(self, response, **extra): (source)

Undocumented