From d715c206eee58f97f0c1dac242594f5c759187ab Mon Sep 17 00:00:00 2001 From: Lucas Tan Date: Thu, 13 Mar 2014 21:34:13 +0800 Subject: [PATCH] updated complex test case to include "test" in Jinja2 --- compressor/tests/test_offline.py | 2 +- .../test_templates/test_complex/test_compressor_offline.html | 2 +- .../test_complex/test_compressor_offline.html | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/compressor/tests/test_offline.py b/compressor/tests/test_offline.py index 958acf6..94f21c6 100644 --- a/compressor/tests/test_offline.py +++ b/compressor/tests/test_offline.py @@ -345,7 +345,7 @@ class OfflineGenerationComplexTestCase(OfflineTestCaseMixin, TestCase): self.assertEqual([ '', '', - '', + '', ], result) rendered_template = self.template.render(Context(settings.COMPRESS_OFFLINE_CONTEXT)) result = (result[0], result[2]) diff --git a/compressor/tests/test_templates/test_complex/test_compressor_offline.html b/compressor/tests/test_templates/test_complex/test_compressor_offline.html index 5f2a568..6eea06e 100644 --- a/compressor/tests/test_templates/test_complex/test_compressor_offline.html +++ b/compressor/tests/test_templates/test_complex/test_compressor_offline.html @@ -15,6 +15,6 @@ {% endcompress %} {% else %} {% compress js %} - + {% endcompress %} {% endif %}{% endspaceless %} diff --git a/compressor/tests/test_templates_jinja2/test_complex/test_compressor_offline.html b/compressor/tests/test_templates_jinja2/test_complex/test_compressor_offline.html index 05acfdb..4707182 100644 --- a/compressor/tests/test_templates_jinja2/test_complex/test_compressor_offline.html +++ b/compressor/tests/test_templates_jinja2/test_complex/test_compressor_offline.html @@ -18,7 +18,7 @@ {% endcompress %} {%- else -%} {% compress js %} - + {% endcompress %} {%- endif %} {% endspaceless %}