diff options
| author | Sean Brant | 2013-03-09 15:57:26 -0600 |
|---|---|---|
| committer | Sean Brant | 2013-03-09 15:57:26 -0600 |
| commit | fa90f078e5de5a1acbd9eda529db17ab1b2b4cb3 (patch) | |
| tree | 7d3014b692f53e5272c52a7f87c66f5aa9908b44 /tests/test_modifier.py | |
| download | pykss-fa90f078e5de5a1acbd9eda529db17ab1b2b4cb3.tar.bz2 | |
Initial Import
Diffstat (limited to 'tests/test_modifier.py')
| -rw-r--r-- | tests/test_modifier.py | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/test_modifier.py b/tests/test_modifier.py new file mode 100644 index 0000000..1e109d8 --- /dev/null +++ b/tests/test_modifier.py @@ -0,0 +1,15 @@ +import unittest + +from pykss.modifier import Modifier + + +class ModiferTestCase(unittest.TestCase): + + def setUp(self): + self.modifier = Modifier('.callout.extreme:hover', 'calls things out') + + def test_handles_pseudo(self): + self.assertTrue('pseudo-class-hover' in self.modifier.class_name) + + def test_handles_multiple_classes(self): + self.assertTrue('callout extreme' in self.modifier.class_name) |
