Add test script for yocto_css and call it from testscour.py

This commit is contained in:
JSCHILL1 2010-02-07 08:45:57 -06:00
parent 34b06e310a
commit 7957dcd7c4

View file

@ -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()