mirror of
https://github.com/django/django.git
synced 2025-08-04 10:59:45 +00:00
parent
8b4cc9df9c
commit
bbc3505ef8
6 changed files with 3 additions and 52 deletions
|
@ -2,7 +2,6 @@ from django.apps import apps
|
|||
from django.core import management
|
||||
from django.db.models import signals
|
||||
from django.test import TestCase
|
||||
from django.test.utils import override_system_checks
|
||||
from django.utils import six
|
||||
|
||||
|
||||
|
@ -62,9 +61,6 @@ class MigrateSignalTests(TestCase):
|
|||
def test_pre_migrate_call_time(self):
|
||||
self.assertEqual(pre_migrate_receiver.call_counter, 1)
|
||||
|
||||
# `auth` app is imported, but not installed in this test, so we need to
|
||||
# exclude checks registered by this app.
|
||||
@override_system_checks([])
|
||||
def test_pre_migrate_args(self):
|
||||
r = PreMigrateReceiver()
|
||||
signals.pre_migrate.connect(r, sender=APP_CONFIG)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue