django/tests/mail
Shai Berger 071801ccff Cleanup: Removed the try-except-fail antipattern from tests
Found cases where testing code was doing

    try:
        whatever
    except (some excption type):
        self.fail("exception shouldn't be thrown")

replaced it with just

    whatever

as this makes the unexpected errors easier to debug, and the tests
would fail just as much and aren't rendered less readable.

Thanks Markus Holtermann for review
2015-06-05 12:57:20 +03:00
..
__init__.py Removed unneeded imports in tests's __init__.py and unified them. 2013-09-09 23:01:07 +02:00
custombackend.py Fixed several typos in Django 2014-05-28 17:39:14 -07:00
test_sendtestemail.py Removed unused imports. 2015-03-20 17:57:11 -04:00
tests.py Cleanup: Removed the try-except-fail antipattern from tests 2015-06-05 12:57:20 +03:00