Tool: Pyflakes Processed Files: reviewboard/notifications/tests.py Tool: PEP8 Style Checker Processed Files: reviewboard/notifications/tests.py
The e-mail backend is always reset in tests
Review Request #7562 — Created July 31, 2015 and submitted
Previously, if a test using the
raised an exception, the e-mail backend would not be reset to the old
backend, causing other tests to fail. This is no longer the case.
Ran unit tests.
Tests that used this decorator that raised an exception caused other
tests to fail without this patch applied but did not with it applied.