checkpoint imports

This commit is contained in:
jtm
2012-03-06 20:39:08 +00:00
parent 479897a8a3
commit 268857c93e
4 changed files with 16 additions and 4 deletions

View File

@@ -0,0 +1,9 @@
@import 'some.css.file.css';
@import 'some/other.css.file.CSS';
@import 'some.css' all;
@import "some.print.css" print;
.import {
color: red;
width: 6px;
height: 9px;
}

5
lesscpy/test/css/imports.min.css vendored Normal file
View File

@@ -0,0 +1,5 @@
@import 'some.css.file.css';
@import 'some/other.css.file.CSS';
@import 'some.css' all;
@import "some.print.css" print;
.import{color:red;width:6px;height:9px;}

View File

@@ -28,8 +28,7 @@ def create_test (args):
self.assertEqual(line, pout[i], '%s: Line %d' % (cssf, i+1))
i += 1
else:
pass
# self.fail("%s not found..." % cssf)
pass #self.fail("%s not found..." % cssf)
if os.path.exists(minf):
p = parser.LessParser()
p.parse(filename=lessf)
@@ -41,8 +40,7 @@ def create_test (args):
self.assertEqual(line.rstrip(), mout[i], '%s: Line %d' % (minf, i+1))
i += 1
else:
pass
# self.fail("%s not found..." % minf)
pass #self.fail("%s not found..." % minf)
return do_test_expected
LESS = glob.glob( os.path.join('less/', '*.less'))