1
0
mirror of https://github.com/django/django.git synced 2025-10-24 06:06:09 +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:
Tim Graham
2017-05-04 10:14:35 -04:00
parent ec05ff086c
commit 890537253c
27 changed files with 31 additions and 91 deletions

View File

@@ -1,9 +1,8 @@
from django.core.management import call_command
from django.db import connection
from django.test import TransactionTestCase, skipUnlessDBFeature
from django.test import TransactionTestCase
@skipUnlessDBFeature("gis_enabled")
class MigrateTests(TransactionTestCase):
"""
Tests running the migrate command in Geodjango.