From f0c69b827e3117a50847d276d9c0e0b97c3dd088 Mon Sep 17 00:00:00 2001 From: Eduard Braun Date: Sun, 6 Dec 2015 23:07:06 +0100 Subject: [PATCH] Unittests: Sync options with current Scour (fixes yet two other errors when running tests) --- testscour.py | 29 +++++++++++++++++++---------- 1 file changed, 19 insertions(+), 10 deletions(-) diff --git a/testscour.py b/testscour.py index e86c581..98c357b 100755 --- a/testscour.py +++ b/testscour.py @@ -49,17 +49,26 @@ class ScourOptions: simple_colors = True style_to_xml = True group_collapse = True - strip_ids = False - digits = 5 - embed_rasters = True - keep_editor_data = False - strip_xml_prolog = False - indent_type = "space" - enable_viewboxing = False - shorten_ids = False - strip_comments = False - remove_metadata = False group_create = False + strip_ids = False + strip_comments = False + shorten_ids = False + shorten_ids_prefix = "" + embed_rasters = True + keep_defs = False + keep_editor_data = False + remove_metadata = False + renderer_workaround = True + strip_xml_prolog = False + enable_viewboxing = False + digits = 5 + indent_type = "space" + indent_depth = 1 + newlines = True + strip_xml_space_attribute = False + protect_ids_noninkscape = False + protect_ids_list = None + protect_ids_prefix = None class NoInkscapeElements(unittest.TestCase): def runTest(self):