def test_compile_file(self):
        compiler = LESS()

        self.assertEqual(
            compiler.compile_file("styles/test.less"), """p {
  font-size: 15px;
}
p a {
  color: red;
}
h1 {
  color: blue;
}
""")
    def test_compile_file(self):
        compiler = LESS()

        self.assertEqual(
            compiler.compile_file("styles/test.less"),
            """p {
  font-size: 15px;
}
p a {
  color: #ff0000;
}
h1 {
  color: blue;
}
"""
        )
Example #3
0
def test_compile_file():
    compiler = LESS()

    assert compiler.compile_file("styles/test.less") == """p {
def test_compile_file():
    compiler = LESS()

    assert compiler.compile_file("styles/test.less") == """p {