django/tests/gis_tests/layermap
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 Moved contrib.gis tests out of contrib. 2015-02-11 10:29:54 -05:00
models.py Stopped conditional discovery of gis_tests apps 2015-04-18 15:17:49 +02:00
tests.py Cleanup: Removed the try-except-fail antipattern from tests 2015-06-05 12:57:20 +03:00