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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user