c.l.w.t.t.TestErrorReportingUtility(testtools.TestCase) : class documentation

Part of canonical.launchpad.webapp.tests.test_errorlog View In Hierarchy

No class docstring
Method setUp Undocumented
Method tearDown Undocumented
Method test_sets_log_namer_to_a_UniqueFileAllocator Undocumented
Method test_configure Test ErrorReportingUtility.setConfigSection().
Method test_setOopsToken Test ErrorReportingUtility.setOopsToken().
Method test_raising Test ErrorReportingUtility.raising() with no request
Method test_raising_with_request Test ErrorReportingUtility.raising() with a request
Method test_raising_with_xmlrpc_request Undocumented
Method test_raising_with_webservice_request Undocumented
Method test_raising_for_script Test ErrorReportingUtility.raising with a ScriptRequest.
Method test_raising_with_unprintable_exception Undocumented
Method test_raising_unauthorized_without_request Unauthorized exceptions are logged when there's no request.
Method test_raising_unauthorized_without_principal Unauthorized exceptions are logged when the request has no
Method test_raising_unauthorized_with_unauthenticated_principal Unauthorized exceptions are not logged when the request has an
Method test_raising_unauthorized_with_authenticated_principal Unauthorized exceptions are logged when the request has an
Method test_raising_translation_unavailable Test ErrorReportingUtility.raising() with a TranslationUnavailable
Method test_raising_no_referrer_error Test ErrorReportingUtility.raising() with a NoReferrerError
Method test_raising_with_string_as_traceback Undocumented
Method test_handling Test ErrorReportingUtility.handling().
Method test_oopsMessage oopsMessage pushes and pops the messages.
Method test__makeErrorReport_includes_oops_messages The error report should include the oops messages.
Method test__makeErrorReport_combines_request_and_error_vars The oops messages should be distinct from real request vars.
def setUp(self):
Undocumented
def tearDown(self):
Undocumented
def test_sets_log_namer_to_a_UniqueFileAllocator(self):
Undocumented
def test_configure(self):
Test ErrorReportingUtility.setConfigSection().
def test_setOopsToken(self):
Test ErrorReportingUtility.setOopsToken().
def test_raising(self):
Test ErrorReportingUtility.raising() with no request
def test_raising_with_request(self):
Test ErrorReportingUtility.raising() with a request
def test_raising_with_xmlrpc_request(self):
Undocumented
def test_raising_with_webservice_request(self):
Undocumented
def test_raising_for_script(self):
Test ErrorReportingUtility.raising with a ScriptRequest.
def test_raising_with_unprintable_exception(self):
Undocumented
def test_raising_unauthorized_without_request(self):
Unauthorized exceptions are logged when there's no request.
def test_raising_unauthorized_without_principal(self):
Unauthorized exceptions are logged when the request has no principal.
def test_raising_unauthorized_with_unauthenticated_principal(self):
Unauthorized exceptions are not logged when the request has an unauthenticated principal.
def test_raising_unauthorized_with_authenticated_principal(self):
Unauthorized exceptions are logged when the request has an authenticated principal.
def test_raising_translation_unavailable(self):
Test ErrorReportingUtility.raising() with a TranslationUnavailable exception.

An OOPS is not recorded when a TranslationUnavailable exception is raised.

def test_raising_no_referrer_error(self):
Test ErrorReportingUtility.raising() with a NoReferrerError exception.

An OOPS is not recorded when a NoReferrerError exception is raised.

def test_raising_with_string_as_traceback(self):
Undocumented
def test_handling(self):
Test ErrorReportingUtility.handling().
def test_oopsMessage(self):
oopsMessage pushes and pops the messages.
def test__makeErrorReport_includes_oops_messages(self):
The error report should include the oops messages.
def test__makeErrorReport_combines_request_and_error_vars(self):
The oops messages should be distinct from real request vars.
API Documentation for Launchpad, generated by pydoctor at 2010-09-27 00:00:11.