mirror of https://github.com/django/django.git
Removed tests of the globbing feature that was removed at r17158. Refs #16247.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17159 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
7872fc0dab
commit
9d6321c921
|
@ -1,3 +0,0 @@
|
|||
INSTALLED_APPS = (
|
||||
'parent.*',
|
||||
)
|
|
@ -9,24 +9,6 @@ from django.conf import Settings
|
|||
from django.db.models.loading import cache, load_app, get_model, get_models
|
||||
from django.utils.unittest import TestCase
|
||||
|
||||
|
||||
class InstalledAppsGlobbingTest(TestCase):
|
||||
def setUp(self):
|
||||
self.OLD_SYS_PATH = sys.path[:]
|
||||
sys.path.append(os.path.dirname(os.path.abspath(__file__)))
|
||||
self.OLD_TZ = os.environ.get("TZ")
|
||||
|
||||
def test_globbing(self):
|
||||
settings = Settings('test_settings')
|
||||
self.assertEqual(settings.INSTALLED_APPS, ['parent.app', 'parent.app1', 'parent.app_2'])
|
||||
|
||||
def tearDown(self):
|
||||
sys.path = self.OLD_SYS_PATH
|
||||
if hasattr(time, "tzset") and self.OLD_TZ:
|
||||
os.environ["TZ"] = self.OLD_TZ
|
||||
time.tzset()
|
||||
|
||||
|
||||
class EggLoadingTest(TestCase):
|
||||
|
||||
def setUp(self):
|
||||
|
|
Loading…
Reference in New Issue