Fixed "no such test method" error in template_tests.

Without this patch, you couldn't run an individual test
case in template_tests.

Refs #23768
This commit is contained in:
Berker Peksag 2014-12-03 13:22:15 +02:00 committed by Baptiste Mispelon
parent b872134bfc
commit adacbd64a0
1 changed files with 1 additions and 0 deletions

View File

@ -52,6 +52,7 @@ def setup(templates, *args):
('django.template.loaders.locmem.Loader', templates),
]),
])
@functools.wraps(func)
def inner(self):
loader = Engine.get_default().template_loaders[0]