From 0d642f0add22d381ede96039ca681b2eb083ba20 Mon Sep 17 00:00:00 2001 From: Lakshmi Vyasarajan Date: Tue, 12 Apr 2011 14:21:13 +0530 Subject: [PATCH] Fixed stylus tests for the new version --- hyde/tests/ext/stylus/expected-site-compressed.css | 2 +- hyde/tests/ext/stylus/expected-site.css | 2 +- hyde/tests/ext/test_stylus.py | 3 +++ 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/hyde/tests/ext/stylus/expected-site-compressed.css b/hyde/tests/ext/stylus/expected-site-compressed.css index 3d9d58f..49457ab 100644 --- a/hyde/tests/ext/stylus/expected-site-compressed.css +++ b/hyde/tests/ext/stylus/expected-site-compressed.css @@ -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} \ No newline at end of file diff --git a/hyde/tests/ext/stylus/expected-site.css b/hyde/tests/ext/stylus/expected-site.css index 1efd373..cdba137 100644 --- a/hyde/tests/ext/stylus/expected-site.css +++ b/hyde/tests/ext/stylus/expected-site.css @@ -9,7 +9,7 @@ border-right: 2px; } #footer { - color: #444; + color: #333; } #content { -webkit-border-radius: 10px; diff --git a/hyde/tests/ext/test_stylus.py b/hyde/tests/ext/test_stylus.py index 5b98531..20facef 100644 --- a/hyde/tests/ext/test_stylus.py +++ b/hyde/tests/ext/test_stylus.py @@ -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):