Fixed #21977 -- Deprecated SimpleTestCase.urls

This commit is contained in:
Anubhav Joshi 2014-04-05 11:34:46 +05:30 committed by Tim Graham
parent d2f4553d70
commit cd914e31c9
73 changed files with 337 additions and 295 deletions

View file

@ -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()