autowisp.tests.test_error_capture_middleware module
Class Inheritance Diagram

Unit tests for the BUI error-capture middleware.
The middleware is exercised directly with a mock request (no running Django server), against a throwaway project database.
- class autowisp.tests.test_error_capture_middleware.TestErrorCaptureMiddleware(methodName='runTest')[source]
Bases:
TestCase
process_exception records the error with a keys-only request snapshot.
- classmethod setUpClass()[source]
Hook method for setting up class fixture before running tests in the class.
- classmethod tearDownClass()[source]
Hook method for deconstructing the class fixture after running all tests in the class.
- test_recording_failure_is_swallowed()[source]
A failure while recording does not propagate from the hook.