mirror of
https://github.com/django/django.git
synced 2025-07-24 13:44:32 +00:00
Fixed #21977 -- Deprecated SimpleTestCase.urls
This commit is contained in:
parent
d2f4553d70
commit
cd914e31c9
73 changed files with 337 additions and 295 deletions
|
@ -529,9 +529,9 @@ class TemplateRegressionTests(TestCase):
|
|||
@override_settings(MEDIA_URL="/media/", STATIC_URL="/static/",
|
||||
TEMPLATE_DEBUG=False, ALLOWED_INCLUDE_ROOTS=(
|
||||
os.path.dirname(os.path.abspath(upath(__file__))),),
|
||||
ROOT_URLCONF='template_tests.urls',
|
||||
)
|
||||
class TemplateTests(TestCase):
|
||||
urls = 'template_tests.urls'
|
||||
|
||||
def test_templates(self):
|
||||
template_tests = self.get_template_tests()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue