More flake fixes.
This commit is contained in:
parent
798eb299e5
commit
cebd259a78
2 changed files with 4 additions and 4 deletions
|
|
@ -3999,7 +3999,7 @@ _option_group_optimization.add_option("--disable-style-to-xml",
|
|||
help="won't convert styles into XML attributes")
|
||||
_option_group_optimization.add_option("--style",
|
||||
action="store", type="string", dest="style_type", default="none", metavar="TYPE",
|
||||
help="style type (overrides style-to-xml): none, preserve, inline,"\
|
||||
help="style type (overrides style-to-xml): none, preserve, inline,"
|
||||
"attributes (default: %none)")
|
||||
_option_group_optimization.add_option("--disable-group-collapsing",
|
||||
action="store_false", dest="group_collapse", default=True,
|
||||
|
|
|
|||
|
|
@ -2217,7 +2217,7 @@ class AttrToStyle(unittest.TestCase):
|
|||
|
||||
def runTest(self):
|
||||
doc = scourXmlFile('unittests/attr-to-style.svg',
|
||||
parse_args(['--style=inline']))
|
||||
parse_args(['--style=inline']))
|
||||
line = doc.getElementsByTagName('line')[0]
|
||||
self.assertEqual(line.getAttribute('stroke'), '')
|
||||
self.assertEqual(line.getAttribute('marker-start'), '')
|
||||
|
|
@ -2237,7 +2237,7 @@ class StylePreserve(unittest.TestCase):
|
|||
|
||||
def runTest(self):
|
||||
doc = scourXmlFile('unittests/attr-to-style.svg',
|
||||
parse_args(['--style=preserve']))
|
||||
parse_args(['--style=preserve']))
|
||||
|
||||
# First line uses attributes.
|
||||
line = doc.getElementsByTagName('line')[0]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue