diff options
| author | Claude Paroz <claude@2xlibre.net> | 2016-06-14 16:18:33 +0200 |
|---|---|---|
| committer | Claude Paroz <claude@2xlibre.net> | 2016-06-18 10:58:02 +0200 |
| commit | f7a363ee1d2039824d95f35e54219e09c5af67b0 (patch) | |
| tree | d0d159c14a151f933faaa6eb0646679bdb614254 /tests/gis_tests/layermap | |
| parent | 7def55c3f6716fcfa40a3bd5d0fbb2090588d81e (diff) | |
Fixed #26753 -- Made GDAL a required dependency for contrib.gis
Thanks Tim Graham for the review.
Diffstat (limited to 'tests/gis_tests/layermap')
| -rw-r--r-- | tests/gis_tests/layermap/tests.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/tests/gis_tests/layermap/tests.py b/tests/gis_tests/layermap/tests.py index 7dc8683595..c57ba47f32 100644 --- a/tests/gis_tests/layermap/tests.py +++ b/tests/gis_tests/layermap/tests.py @@ -5,7 +5,6 @@ import os import unittest from copy import copy from decimal import Decimal -from unittest import skipUnless from django.conf import settings from django.contrib.gis.gdal import HAS_GDAL @@ -39,7 +38,6 @@ NUMS = [1, 2, 1, 19, 1] # Number of polygons for each. STATES = ['Texas', 'Texas', 'Texas', 'Hawaii', 'Colorado'] -@skipUnless(HAS_GDAL, "LayerMapTest needs GDAL support") @skipUnlessDBFeature("gis_enabled") class LayerMapTest(TestCase): @@ -337,7 +335,6 @@ class OtherRouter(object): return True -@skipUnless(HAS_GDAL, "LayerMapRouterTest needs GDAL support") @skipUnlessDBFeature("gis_enabled") @override_settings(DATABASE_ROUTERS=[OtherRouter()]) class LayerMapRouterTest(TestCase): |
