Commit e5c85938 by Timothée Peignier

lazy compiler tests

parent fabeffa8
from django.test import TestCase from django.test import TestCase
from pipeline.compilers import Compiler
class CompilerTest(TestCase): class CompilerTest(TestCase):
pass def setUp(self):
self.compiler = Compiler()
def test_output_path(self):
output_path = self.compiler.output_path("js/helpers.coffee", "js")
self.assertEquals(output_path, "js/helpers.js")
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment