Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1189)

Unified Diff: third_party/pyscss/scss/tests/test_mixin.py

Issue 9111023: Pyscss is obsolete with Dart CSS complier; remove all pyscss code. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Remove pyparsing from .gitignore Created 8 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/pyscss/scss/tests/test_if.py ('k') | third_party/pyscss/scss/tests/test_nesting.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/pyscss/scss/tests/test_mixin.py
diff --git a/third_party/pyscss/scss/tests/test_mixin.py b/third_party/pyscss/scss/tests/test_mixin.py
deleted file mode 100644
index 8acf7ceddce7c24a789464544655efb7fcfc11ea..0000000000000000000000000000000000000000
--- a/third_party/pyscss/scss/tests/test_mixin.py
+++ /dev/null
@@ -1,41 +0,0 @@
-import unittest
-
-from scss.parser import Stylesheet
-
-
-class TestSCSS( unittest.TestCase ):
-
- def setUp(self):
- self.parser = Stylesheet(options=dict(compress=True))
-
- def test_mixin(self):
- src = """
- @mixin font {
- font: {
- weight: inherit;
- style: inherit;
- size: 100%;
- family: inherit; };
- vertical-align: baseline; }
-
- @mixin global {
- .global {
- border:red;
- @include font;
- }
- }
-
- @include global;
-
- @mixin rounded-top( $radius:10px ) {
- $side: top;
- border-#{$side}-radius: $radius;
- -moz-border-radius-#{$side}: $radius;
- -webkit-border-#{$side}-radius: $radius;
- }
- #navbar li { @include rounded-top; }
- #footer { @include rounded-top(5px); }
- """
- test = ".global{border:#f00;vertical-align:baseline;font-weight:inherit;font-style:inherit;font-size:100%;font-family:inherit}#navbar li{border-top-radius:10px;-moz-border-radius-top:10px;-webkit-border-top-radius:10px}#footer{border-top-radius:5px;-moz-border-radius-top:5px;-webkit-border-top-radius:5px}"
- out = self.parser.loads(src)
- self.assertEqual(test, out)
« no previous file with comments | « third_party/pyscss/scss/tests/test_if.py ('k') | third_party/pyscss/scss/tests/test_nesting.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698