'Ensure that sensitive POST parameters and frame variables cannot be
seen in the default error reports for sensitive requests.'

def test_sensitive_request(self):

    with self.settings(DEBUG=True):
        self.verify_unsafe_response(sensitive_view)
        self.verify_unsafe_email(sensitive_view)
    with self.settings(DEBUG=False):
        self.verify_safe_response(sensitive_view)
        self.verify_safe_email(sensitive_view)
