Part of canonical.launchpad.webapp.tests.test_errorlog View In Hierarchy
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. |
An OOPS is not recorded when a TranslationUnavailable exception is raised.
An OOPS is not recorded when a NoReferrerError exception is raised.