savepoint_commit(sid, using=None) [source] Releases savepoint sid. The changes
DiscoverRunner.teardown_test_environment(**kwargs) Restores the pre-test environment.
render_to_response(template_name, context=None, content_type=None, status=None, using=None) [source] This
Template.render(context=None, request=None) Renders this template with a given context. If
class TestCase [source] This is the most common class to use for writing tests in Django
save(session_key, session_dict, expire_date) Saves session data for a provided session key, or deletes the session in case the
send_mail(subject, message, from_email, recipient_list, fail_silently=False, auth_user=None, auth_password=None, connection=None, html_message=None)
wsgi_request The WSGIRequest instance generated by the test handler that generated the response.
delete_test_cookie() Deletes the test cookie. Use this to clean up after yourself.
get_expiry_date() Returns the date this session will expire. For sessions with no custom expiration (or those set to expire
Page 6 of 35