Collect static for the compressor tests.

This commit is contained in:
Rocky Meza 2014-02-03 20:31:35 -07:00
parent d1ae0ebb23
commit cfb56b4965
1 changed files with 3 additions and 2 deletions

View File

@ -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