Refs #24100 -- Fixed a test failure on MySQL related to non-transactional DDL.

Thanks Tim for the report.
This commit is contained in:
Simon Charette 2016-05-19 09:10:47 -04:00
parent a7ad473ad2
commit 05a9f3a09a
No known key found for this signature in database
GPG Key ID: 72AF89A0B1B4EDB3
1 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@ from django.apps import apps
from django.core import management
from django.db import migrations
from django.db.models import signals
from django.test import TestCase, override_settings
from django.test import TransactionTestCase, override_settings
from django.utils import six
APP_CONFIG = apps.get_app_config('migrate_signals')
@ -57,7 +57,7 @@ pre_migrate_receiver = OneTimeReceiver(signals.pre_migrate)
post_migrate_receiver = OneTimeReceiver(signals.post_migrate)
class MigrateSignalTests(TestCase):
class MigrateSignalTests(TransactionTestCase):
available_apps = ['migrate_signals']