mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Made runtests.py run gis_tests only when using a GIS database backend.
This facilitates other changes like refs #28160.
This commit is contained in:
@@ -4,7 +4,6 @@ from django.contrib.gis.db import models
|
||||
class SimpleModel(models.Model):
|
||||
class Meta:
|
||||
abstract = True
|
||||
required_db_features = ['gis_enabled']
|
||||
|
||||
|
||||
class Location(SimpleModel):
|
||||
|
||||
@@ -12,7 +12,6 @@ from .models import (
|
||||
)
|
||||
|
||||
|
||||
@skipUnlessDBFeature("gis_enabled")
|
||||
class RelatedGeoModelTest(TestCase):
|
||||
fixtures = ['initial']
|
||||
|
||||
|
||||
Reference in New Issue
Block a user