diff --git a/lesscpy/test/css/imports.css b/lesscpy/test/css/imports.css new file mode 100644 index 0000000..278d53a --- /dev/null +++ b/lesscpy/test/css/imports.css @@ -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; +} diff --git a/lesscpy/test/css/imports.min.css b/lesscpy/test/css/imports.min.css new file mode 100644 index 0000000..76d6d53 --- /dev/null +++ b/lesscpy/test/css/imports.min.css @@ -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;} diff --git a/lesscpy/test/less/shorthand-properties.less b/lesscpy/test/less/shorthand-properties.less deleted file mode 100644 index e69de29..0000000 diff --git a/lesscpy/test/testless.py b/lesscpy/test/testless.py index 58301fd..a7ef990 100644 --- a/lesscpy/test/testless.py +++ b/lesscpy/test/testless.py @@ -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'))