Browse Source

Fixed stylus tests for the new version

main
Lakshmi Vyasarajan 14 years ago
parent
commit
0d642f0add
3 changed files with 5 additions and 2 deletions
  1. +1
    -1
      hyde/tests/ext/stylus/expected-site-compressed.css
  2. +1
    -1
      hyde/tests/ext/stylus/expected-site.css
  3. +3
    -0
      hyde/tests/ext/test_stylus.py

+ 1
- 1
hyde/tests/ext/stylus/expected-site-compressed.css View File

@@ -1,4 +1,4 @@
*{border:0;padding:0;margin:0}
#header{color:#333;border-left:1px;border-right:2px}
#footer{color:#444}
#footer{color:#333}
#content{-webkit-border-radius:10px;-moz-border-radius:10px;border-radius:10px}

+ 1
- 1
hyde/tests/ext/stylus/expected-site.css View File

@@ -9,7 +9,7 @@
border-right: 2px;
}
#footer {
color: #444;
color: #333;
}
#content {
-webkit-border-radius: 10px;


+ 3
- 0
hyde/tests/ext/test_stylus.py View File

@@ -44,6 +44,9 @@ class TestLess(object):
assert target.exists
text = target.read_all()
expected_text = File(STYLUS_SOURCE.child('expected-site.css')).read_all()
print text.strip()
print "=" * 80
print expected_text.strip()
assert text.strip() == expected_text.strip()

def test_can_compress_with_stylus(self):


Loading…
Cancel
Save