mirror of
https://github.com/django/django.git
synced 2025-07-24 05:36:15 +00:00
Refs #24652 -- Used SimpleTestCase where appropriate.
This commit is contained in:
parent
e2b77acedd
commit
be67400b47
93 changed files with 362 additions and 340 deletions
|
@ -3,13 +3,13 @@ from __future__ import unicode_literals
|
|||
import os
|
||||
|
||||
from django.apps import apps
|
||||
from django.test import TestCase
|
||||
from django.test import SimpleTestCase
|
||||
from django.test.utils import extend_sys_path
|
||||
from django.utils import six
|
||||
from django.utils._os import upath
|
||||
|
||||
|
||||
class EggLoadingTest(TestCase):
|
||||
class EggLoadingTest(SimpleTestCase):
|
||||
|
||||
def setUp(self):
|
||||
self.egg_dir = '%s/eggs' % os.path.dirname(upath(__file__))
|
||||
|
@ -62,7 +62,7 @@ class EggLoadingTest(TestCase):
|
|||
pass
|
||||
|
||||
|
||||
class GetModelsTest(TestCase):
|
||||
class GetModelsTest(SimpleTestCase):
|
||||
def setUp(self):
|
||||
from .not_installed import models
|
||||
self.not_installed_module = models
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue