Collect static for the compressor tests.
This commit is contained in:
parent
d1ae0ebb23
commit
cfb56b4965
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue