Stopped conditional discovery of gis_tests apps

Refs #23879.
This commit is contained in:
Claude Paroz 2015-04-04 18:09:46 +02:00
parent 8097e54832
commit 6b6d13bf6e
15 changed files with 83 additions and 21 deletions

View file

@ -1,12 +1,13 @@
from unittest import skipUnless
from django.contrib.gis.gdal import HAS_GDAL
from django.contrib.gis.geos import HAS_GEOS
from django.forms import ValidationError
from django.test import SimpleTestCase, skipUnlessDBFeature
from django.utils import six
from django.utils.html import escape
if HAS_GDAL:
if HAS_GEOS and HAS_GDAL:
from django.contrib.gis import forms
from django.contrib.gis.geos import GEOSGeometry