mirror of
https://github.com/django/django.git
synced 2025-08-04 02:48:35 +00:00
Made contenttypes and auth apps unavailable when not necessary in tests.
This commit is contained in:
parent
973cfd2ef5
commit
dc1193085d
4 changed files with 2 additions and 13 deletions
|
@ -2344,11 +2344,7 @@ class SwappableOperationTests(OperationTestBase):
|
|||
is in a common base class anyway)
|
||||
"""
|
||||
|
||||
available_apps = [
|
||||
"migrations",
|
||||
"django.contrib.auth",
|
||||
"django.contrib.contenttypes",
|
||||
]
|
||||
available_apps = ['migrations']
|
||||
|
||||
@override_settings(TEST_SWAP_MODEL="migrations.SomeFakeModel")
|
||||
def test_create_ignore_swapped(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue