Fix Bug 541889: Properly parse polygon/polyline points missing whitespace/comma for negative attributes

This commit is contained in:
JSCHILL1 2010-03-25 17:48:15 -07:00
parent fd82967bbc
commit 05e73f11c3
8 changed files with 72 additions and 13 deletions

View file

@ -38,7 +38,6 @@ class ElementSelector(unittest.TestCase):
class ElementSelectorWithProperty(unittest.TestCase):
def runTest(self):
r = parseCssString('foo { bar: baz}')
print r
self.assertEquals( len(r), 1, 'Element selector not returned')
self.assertEquals( r[0]['selector'], 'foo', 'Selector for foo not returned')
self.assertEquals( len(r[0]['properties']), 1, 'Property list for foo did not have 1')