Commit adacbd64 authored by Berker Peksag's avatar Berker Peksag Committed by Baptiste Mispelon
Browse files

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
parent b872134b
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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]