summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRocky Meza <rocky@fusionbox.com>2014-02-03 20:31:35 -0700
committerRocky Meza <rocky@fusionbox.com>2014-02-03 20:31:35 -0700
commitcfb56b4965e2ad3faf59438c4e61498a129cda2a (patch)
tree49f5a050df4f0ee1af238a4a77330aa4a293639e
parentd1ae0ebb23b5d3af0b58cf014605c577b139cec0 (diff)
downloaddjango-pyscss-cfb56b4965e2ad3faf59438c4e61498a129cda2a.tar.gz
Collect static for the compressor tests.
-rw-r--r--tests/test_compressor.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/test_compressor.py b/tests/test_compressor.py
index 4ff6630..cd8827d 100644
--- a/tests/test_compressor.py
+++ b/tests/test_compressor.py
@@ -1,6 +1,7 @@
-from django.test import TestCase
from django.template.loader import Template, Context
+from tests.utils import CollectStaticTestCase
+
APP2_LINK_TAG = """
{% load staticfiles compress %}
@@ -19,7 +20,7 @@ IMPORT_APP2_STYLE_TAG = """
"""
-class CompressorTest(TestCase):
+class CompressorTest(CollectStaticTestCase):
def test_compressor_can_compile_scss(self):
actual = Template(APP2_LINK_TAG).render(Context())
# 4b368862ec8c is the cache key that compressor gives to the compiled