Commit 02eca6c0 authored by Claude Paroz's avatar Claude Paroz
Browse files

Added more relative imports in contrib.gis.

parent d04f72fb
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -2,10 +2,12 @@
Module for executing all of the GDAL tests.  None
of these tests require the use of the database.
"""
from __future__ import absolute_import

from django.utils.unittest import TestSuite, TextTestRunner

# Importing the GDAL test modules.
import test_driver, test_ds, test_envelope, test_geom, test_srs
from . import test_driver, test_ds, test_envelope, test_geom, test_srs

test_suites = [test_driver.suite(),
               test_ds.suite(),
+3 −1
Original line number Diff line number Diff line
@@ -11,8 +11,10 @@
 Grab GeoIP.dat.gz and GeoLiteCity.dat.gz, and unzip them in the directory
 corresponding to settings.GEOIP_PATH.
"""
from __future__ import absolute_import

try:
    from django.contrib.gis.geoip.base import GeoIP, GeoIPException
    from .base import GeoIP, GeoIPException
    HAS_GEOIP = True
except:
    HAS_GEOIP = False
+3 −1
Original line number Diff line number Diff line
"""
GEOS Testing module.
"""
from __future__ import absolute_import

from django.utils.unittest import TestSuite, TextTestRunner
import test_geos, test_io, test_geos_mutation, test_mutable_list
from . import test_geos, test_io, test_geos_mutation, test_mutable_list

test_suites = [
    test_geos.suite(),