checkpoint imports
This commit is contained in:
9
lesscpy/test/css/imports.css
Normal file
9
lesscpy/test/css/imports.css
Normal 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
5
lesscpy/test/css/imports.min.css
vendored
Normal 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;}
|
||||
@@ -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'))
|
||||
|
||||
Reference in New Issue
Block a user