mirror of
https://github.com/django/django.git
synced 2025-08-30 23:37:50 +00:00
parent
8b4cc9df9c
commit
bbc3505ef8
6 changed files with 3 additions and 52 deletions
|
@ -4,7 +4,7 @@ import os
|
|||
|
||||
from django.core.management import call_command
|
||||
from django.test import TestCase, TransactionTestCase
|
||||
from django.test.utils import override_system_checks, extend_sys_path
|
||||
from django.test.utils import extend_sys_path
|
||||
from django.utils._os import upath
|
||||
|
||||
from .models import (ConcreteModel, ConcreteModelSubclass,
|
||||
|
@ -19,9 +19,6 @@ class ProxyModelInheritanceTests(TransactionTestCase):
|
|||
"""
|
||||
available_apps = []
|
||||
|
||||
# `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_table_exists(self):
|
||||
with extend_sys_path(os.path.dirname(os.path.abspath(upath(__file__)))):
|
||||
with self.modify_settings(INSTALLED_APPS={'append': ['app1', 'app2']}):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue