1
0
mirror of https://github.com/django/django.git synced 2024-11-20 00:14:08 +00:00
django/tests/gis_tests
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
..
data Fixed #24207 -- Added 25D-type geometry field support to ogrinspect 2015-05-06 20:31:36 +02:00
distapp Removed many HAS_GEOS conditional imports 2015-04-24 20:30:23 +02:00
gdal_tests Removed test numbering in gdal tests 2015-05-13 14:13:20 +02:00
geo3d Removed many HAS_GEOS conditional imports 2015-04-24 20:30:23 +02:00
geoadmin Delayed GDAL check for OSMGeoAdmin 2015-04-24 20:30:23 +02:00
geoapp Fixed #24499 -- Dropped support for PostGIS 1.5. 2015-04-25 12:21:16 -04:00
geogapp Removed many HAS_GEOS conditional imports 2015-04-24 20:30:23 +02:00
geos_tests Fixed #24714 -- Used more specific assertions than assertEqual in tests. 2015-04-28 09:31:04 -04:00
gis_migrations
inspectapp Fixed #24207 -- Added 25D-type geometry field support to ogrinspect 2015-05-06 20:31:36 +02:00
layermap Cleanup: Removed the try-except-fail antipattern from tests 2015-06-05 12:57:20 +03:00
maps Refs #24652 -- Used SimpleTestCase where appropriate. 2015-05-20 13:46:13 -04:00
relatedapp Fixed #24714 -- Used more specific assertions than assertEqual in tests. 2015-04-28 09:31:04 -04:00
__init__.py
admin.py
models.py
test_data.py
test_geoforms.py Removed many HAS_GEOS conditional imports 2015-04-24 20:30:23 +02:00
test_geoip.py Fixed #24714 -- Used more specific assertions than assertEqual in tests. 2015-04-28 09:31:04 -04:00
test_measure.py
test_spatialrefsys.py Fixed #24714 -- Used more specific assertions than assertEqual in tests. 2015-04-28 09:31:04 -04:00
tests.py
utils.py