From 9074c9b5aa76f3e294378e9612d4f474a1876930 Mon Sep 17 00:00:00 2001 From: Jannis Leidel Date: Fri, 25 Nov 2011 15:14:18 +0100 Subject: [PATCH] Fixed precompiler tests to pass with the new filenames. --- tests/tests/templatetags.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/tests/templatetags.py b/tests/tests/templatetags.py index 65b6930..ed31586 100644 --- a/tests/tests/templatetags.py +++ b/tests/tests/templatetags.py @@ -196,7 +196,7 @@ class PrecompilerTemplatetagTestCase(TestCase): {% endcompress %}""" - out = script(src="/media/CACHE/js/95cfb869eead.js") + out = script(src="/media/CACHE/js/one.95cfb869eead.js") self.assertEqual(out, render(template, self.context)) finally: settings.COMPRESS_ENABLED = self.old_enabled @@ -215,9 +215,9 @@ class PrecompilerTemplatetagTestCase(TestCase): {% endcompress %}""" out = '\n'.join([ - script(src="/media/CACHE/js/95cfb869eead.js"), + script(src="/media/CACHE/js/one.95cfb869eead.js"), script(scripttype="", src="/media/js/one.js"), - script(src="/media/CACHE/js/81a2cd965815.js"),]) + script(src="/media/CACHE/js/one.81a2cd965815.js"),]) self.assertEqual(out, render(template, self.context)) finally: