diff --git a/testcss.py b/testcss.py index d6936e9..ac65571 100755 --- a/testcss.py +++ b/testcss.py @@ -28,5 +28,10 @@ class Blank(unittest.TestCase): self.assertEquals( len(r), 0, 'Blank string returned non-empty list') self.assertEquals( type(r), type([]), 'Blank string returned non list') +class ElementSelector(unittest.TestCase): + def runTest(self) + r = parseCssString('foo {}') + self.assertEquals( len(r), 1, 'Element selector not returned') + if __name__ == '__main__': unittest.main()