summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas Dufour <nicoduf@yahoo.fr>2012-02-09 05:23:20 +0000
committerJazzyNico <nicoduf@yahoo.fr>2012-02-09 05:23:20 +0000
commitdc889d60c52841858350ee854dc99bb2f33c229c (patch)
tree2bea6e730c2fee15a10a62aa020512b38f4417e5
parent(cppcheck and janitorial tasks:) C-style casting to C++-style casting (diff)
downloadinkscape-dc889d60c52841858350ee854dc99bb2f33c229c.tar.gz
inkscape-dc889d60c52841858350ee854dc99bb2f33c229c.zip
Extensions. Unit tests improvement.
(bzr r10953)
-rwxr-xr-xshare/extensions/test/dxf_outlines.test.py36
-rwxr-xr-xshare/extensions/test/gimp_xcf.test.py58
-rwxr-xr-xshare/extensions/test/inkex.test.py38
-rwxr-xr-xshare/extensions/test/markers_strokepaint.test.py44
-rwxr-xr-xshare/extensions/test/perspective.test.py35
-rwxr-xr-xshare/extensions/test/printing_marks.test.py (renamed from share/extensions/test/printing-marks.test.py)4
-rwxr-xr-xshare/extensions/test/summersnight.test.py35
-rw-r--r--share/extensions/test/svg/default-inkscape-SVG.svg37
-rw-r--r--share/extensions/test/svg/default-plain-SVG.svg29
-rw-r--r--share/extensions/test/svg/empty-SVG.svg13
-rw-r--r--share/extensions/test/svg/multilayered-test.svg152
-rwxr-xr-xshare/extensions/test/svg_and_media_zip_output.test.py4
12 files changed, 406 insertions, 79 deletions
diff --git a/share/extensions/test/dxf_outlines.test.py b/share/extensions/test/dxf_outlines.test.py
index 5124c5306..e3b64e1cd 100755
--- a/share/extensions/test/dxf_outlines.test.py
+++ b/share/extensions/test/dxf_outlines.test.py
@@ -1,26 +1,32 @@
#!/usr/bin/env python
+'''
+Unit test file for ../dxf_outlines.py
+Revision history:
+ * 2012-01-25 (jazzynico): first working version (only checks the extension
+ with the default parameters).
-# This is only the automatic generated test file for ../dxf_outlines.py
-# This must be filled with real tests and this commentary
-# must be cleared.
-# If you want to help, read the python unittest documentation:
-# http://docs.python.org/library/unittest.html
+--
+If you want to help, read the python unittest documentation:
+http://docs.python.org/library/unittest.html
+'''
import sys
-sys.path.append('..') # this line allows to import the extension code
-
import unittest
+
+sys.path.append('..') # this line allows to import the extension code
from dxf_outlines import *
-class MyEffectBasicTest(unittest.TestCase):
+class DFXOutlineBasicTest(unittest.TestCase):
+ #def setUp(self):
- #def setUp(self):
+ def test_run_without_parameters(self):
+ args = [ 'minimal-blank.svg' ]
+ e = MyEffect()
+ e.affect(args, False)
- def test_run_without_parameters(self):
- args = [ 'minimal-blank.svg' ]
- e = MyEffect()
- e.affect( args, False )
- #self.assertEqual( e.something, 'some value', 'A commentary about that.' )
if __name__ == '__main__':
- unittest.main()
+ unittest.main()
+ #suite = unittest.TestLoader().loadTestsFromTestCase(DFXOutlineBasicTest)
+ #unittest.TextTestRunner(verbosity=2).run(suite)
+
diff --git a/share/extensions/test/gimp_xcf.test.py b/share/extensions/test/gimp_xcf.test.py
index ae238f0cf..b5a530a49 100755
--- a/share/extensions/test/gimp_xcf.test.py
+++ b/share/extensions/test/gimp_xcf.test.py
@@ -1,26 +1,54 @@
#!/usr/bin/env python
+'''
+Unit test file for ../gimp_xcf.py
+Revision history:
+ * 2012-01-26 (jazzynico): checks defaulf parameters and file handling.
-# This is only the automatic generated test file for ../gimp_xcf.py
-# This must be filled with real tests and this commentary
-# must be cleared.
-# If you want to help, read the python unittest documentation:
-# http://docs.python.org/library/unittest.html
+--
+If you want to help, read the python unittest documentation:
+http://docs.python.org/library/unittest.html
+'''
+import os
import sys
-sys.path.append('..') # this line allows to import the extension code
-
import unittest
+
+sys.path.append('..') # this line allows to import the extension code
from gimp_xcf import *
-class MyEffectBasicTest(unittest.TestCase):
+class GimpXCFBasicTest(unittest.TestCase):
+ def setUp(self):
+ sys.stdout = open(os.devnull, 'w')
+
+ def test_expected_file(self):
+ # multilayered-test.svg provides 3 layers and a sublayer
+ # (all non empty).
+ args = [ 'svg/multilayered-test.svg' ]
+ e = MyEffect()
+ e.affect(args, False)
+ #self.assertRaises(GimpXCFExpectedIOError, e.affect, args, False)
+
+ def test_empty_file(self):
+ # empty-SVG.svg contains an emply svg element (no layer, no object).
+ # The file must have at least one non empty layer and thus the
+ # extension rejects it and send an error message.
+ args = [ 'svg/empty-SVG.svg' ]
+ e = MyEffect()
+ e.affect(args, False)
+ self.assertEqual(e.valid, 0)
- #def setUp(self):
+ def test_empty_layer_file(self):
+ # default-inkscape-SVG.svg is a copy of the defaut Inkscape
+ # template, with one empty layer.
+ # The file must have at least one non empty layer and thus the
+ # extension rejects it and send an error message.
+ args = [ 'svg/default-inkscape-SVG.svg' ]
+ e = MyEffect()
+ e.affect(args, False)
+ self.assertEqual(e.valid, 0)
- def test_run_without_parameters(self):
- args = [ 'minimal-blank.svg' ]
- e = MyEffect()
- e.affect( args, False )
- #self.assertEqual( e.something, 'some value', 'A commentary about that.' )
if __name__ == '__main__':
- unittest.main()
+ #unittest.main()
+ suite = unittest.TestLoader().loadTestsFromTestCase(GimpXCFBasicTest)
+ unittest.TextTestRunner(verbosity=2).run(suite)
diff --git a/share/extensions/test/inkex.test.py b/share/extensions/test/inkex.test.py
new file mode 100755
index 000000000..ed2256ae7
--- /dev/null
+++ b/share/extensions/test/inkex.test.py
@@ -0,0 +1,38 @@
+#!/usr/bin/env python
+# -*- coding: utf-8 -*-
+'''
+Unit test file for ../inkex.py
+Revision history:
+ * 2012-01-27 (jazzynico): check errormsg function.
+
+--
+If you want to help, read the python unittest documentation:
+http://docs.python.org/library/unittest.html
+'''
+
+import sys
+sys.path.append('..') # this line allows to import the extension code
+
+import unittest
+from inkex import errormsg
+
+class InkexBasicTest(unittest.TestCase):
+
+ #def setUp(self):
+
+ def test_ascii(self):
+ #Parse ABCabc
+ errormsg('ABCabc')
+
+ def test_nonunicode_latin1(self):
+ #Parse Àûïàèé
+ errormsg('Àûïàèé')
+
+ def test_unicode_latin1(self):
+ #Parse Àûïàèé (unicode)
+ errormsg(u'Àûïàèé')
+
+if __name__ == '__main__':
+ #unittest.main()
+ suite = unittest.TestLoader().loadTestsFromTestCase(InkexBasicTest)
+ unittest.TextTestRunner(verbosity=2).run(suite)
diff --git a/share/extensions/test/markers_strokepaint.test.py b/share/extensions/test/markers_strokepaint.test.py
index 8c1262b75..386166bce 100755
--- a/share/extensions/test/markers_strokepaint.test.py
+++ b/share/extensions/test/markers_strokepaint.test.py
@@ -1,26 +1,40 @@
#!/usr/bin/env python
+'''
+Unit test file for ../markers_strokepaint.py
+Revision history:
+ * 2012-01-27 (jazzynico): checks defaulf parameters and file handling.
-# This is only the automatic generated test file for ../markers_strokepaint.py
-# This must be filled with real tests and this commentary
-# must be cleared.
-# If you want to help, read the python unittest documentation:
-# http://docs.python.org/library/unittest.html
+--
+If you want to help, read the python unittest documentation:
+http://docs.python.org/library/unittest.html
+'''
import sys
-sys.path.append('..') # this line allows to import the extension code
-
import unittest
+
+sys.path.append('..') # this line allows to import the extension code
from markers_strokepaint import *
-class MyEffectBasicTest(unittest.TestCase):
+class StrokeColorBasicTest(unittest.TestCase):
+
+ #def setUp(self):
- #def setUp(self):
+ def test_no_defs(self):
+ args = ['svg/empty-SVG.svg']
+ e = MyEffect()
+ e.affect(args, False)
+ #self.assertEqual( e.something, 'some value', 'A commentary about that.' )
- def test_run_without_parameters(self):
- args = [ 'minimal-blank.svg' ]
- e = MyEffect()
- e.affect( args, False )
- #self.assertEqual( e.something, 'some value', 'A commentary about that.' )
+ def test_empty_defs(self):
+ args = ['svg/default-plain-SVG.svg']
+ e = MyEffect()
+ e.affect(args, False)
+'''
+ def test_markers(self):
+ args = ['svg/markers.svg']
+'''
if __name__ == '__main__':
- unittest.main()
+ #unittest.main()
+ suite = unittest.TestLoader().loadTestsFromTestCase(StrokeColorBasicTest)
+ unittest.TextTestRunner(verbosity=2).run(suite)
diff --git a/share/extensions/test/perspective.test.py b/share/extensions/test/perspective.test.py
index 3d4daf540..a10297507 100755
--- a/share/extensions/test/perspective.test.py
+++ b/share/extensions/test/perspective.test.py
@@ -1,26 +1,31 @@
#!/usr/bin/env python
+'''
+Unit test file for ../perspective.py
+Revision history:
+ * 2012-01-28 (jazzynico): first working version (only checks the extension
+ with the default parameters).
-# This is only the automatic generated test file for ../perspective.py
-# This must be filled with real tests and this commentary
-# must be cleared.
-# If you want to help, read the python unittest documentation:
-# http://docs.python.org/library/unittest.html
+--
+If you want to help, read the python unittest documentation:
+http://docs.python.org/library/unittest.html
+'''
import sys
-sys.path.append('..') # this line allows to import the extension code
-
import unittest
+
+sys.path.append('..') # this line allows to import the extension code
from perspective import *
-class ProjectBasicTest(unittest.TestCase):
+class PerspectiveBasicTest(unittest.TestCase):
- #def setUp(self):
+ #def setUp(self):
- def test_run_without_parameters(self):
- args = [ 'minimal-blank.svg' ]
- e = Project()
- e.affect( args, False )
- #self.assertEqual( e.something, 'some value', 'A commentary about that.' )
+ def test_run_without_parameters(self):
+ args = ['minimal-blank.svg']
+ e = Project()
+ self.assertRaises(SystemExit, e.affect, args)
if __name__ == '__main__':
- unittest.main()
+ unittest.main()
+ #suite = unittest.TestLoader().loadTestsFromTestCase(PerspectiveBasicTest)
+ #unittest.TextTestRunner(verbosity=2).run(suite)
diff --git a/share/extensions/test/printing-marks.test.py b/share/extensions/test/printing_marks.test.py
index 0438e327c..8e4bcc31c 100755
--- a/share/extensions/test/printing-marks.test.py
+++ b/share/extensions/test/printing_marks.test.py
@@ -10,9 +10,9 @@ import sys
sys.path.append('..') # this line allows to import the extension code
import unittest
-from printing-marks import *
+from printing_marks import *
-class Printing_MarksBasicTest(unittest.TestCase):
+class PrintingMarksBasicTest(unittest.TestCase):
#def setUp(self):
diff --git a/share/extensions/test/summersnight.test.py b/share/extensions/test/summersnight.test.py
index e8e2733b8..711bd051d 100755
--- a/share/extensions/test/summersnight.test.py
+++ b/share/extensions/test/summersnight.test.py
@@ -1,26 +1,31 @@
#!/usr/bin/env python
+'''
+Unit test file for ../summersnight.py
+Revision history:
+ * 2012-01-28 (jazzynico): first working version (only checks the extension
+ with the default parameters).
-# This is only the automatic generated test file for ../summersnight.py
-# This must be filled with real tests and this commentary
-# must be cleared.
-# If you want to help, read the python unittest documentation:
-# http://docs.python.org/library/unittest.html
+--
+If you want to help, read the python unittest documentation:
+http://docs.python.org/library/unittest.html
+'''
import sys
-sys.path.append('..') # this line allows to import the extension code
-
import unittest
+
+sys.path.append('..') # this line allows to import the extension code
from summersnight import *
-class ProjectBasicTest(unittest.TestCase):
+class EnvelopeBasicTest(unittest.TestCase):
- #def setUp(self):
+ #def setUp(self):
- def test_run_without_parameters(self):
- args = [ 'minimal-blank.svg' ]
- e = Project()
- e.affect( args, False )
- #self.assertEqual( e.something, 'some value', 'A commentary about that.' )
+ def test_run_without_parameters(self):
+ args = ['minimal-blank.svg']
+ e = Project()
+ self.assertRaises(SystemExit, e.affect, args)
if __name__ == '__main__':
- unittest.main()
+ unittest.main()
+ #suite = unittest.TestLoader().loadTestsFromTestCase(EnvelopeBasicTest)
+ #unittest.TextTestRunner(verbosity=2).run(suite)
diff --git a/share/extensions/test/svg/default-inkscape-SVG.svg b/share/extensions/test/svg/default-inkscape-SVG.svg
new file mode 100644
index 000000000..a6a610fdb
--- /dev/null
+++ b/share/extensions/test/svg/default-inkscape-SVG.svg
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+<svg
+ xmlns="http://www.w3.org/2000/svg"
+ xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+ xmlns:xlink="http://www.w3.org/1999/xlink"
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:cc="http://web.resource.org/cc/"
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
+ width="744.09448819"
+ height="1052.3622047">
+ <defs />
+ <sodipodi:namedview
+ id="base"
+ pagecolor="#ffffff"
+ bordercolor="#666666"
+ borderopacity="1.0"
+ inkscape:pageopacity="0.0"
+ inkscape:pageshadow="2"
+ inkscape:zoom="0.35"
+ inkscape:cx="375"
+ inkscape:cy="520"
+ inkscape:document-units="px"
+ inkscape:current-layer="layer1" />
+ <metadata>
+ <rdf:RDF>
+ <cc:Work
+ rdf:about="">
+ <dc:format>image/svg+xml</dc:format>
+ <dc:type
+ rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
+ </cc:Work>
+ </rdf:RDF>
+ </metadata>
+ <g inkscape:label="Layer 1" inkscape:groupmode="layer" id="layer1" />
+</svg>
diff --git a/share/extensions/test/svg/default-plain-SVG.svg b/share/extensions/test/svg/default-plain-SVG.svg
new file mode 100644
index 000000000..544273366
--- /dev/null
+++ b/share/extensions/test/svg/default-plain-SVG.svg
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+
+<svg
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
+ xmlns:cc="http://creativecommons.org/ns#"
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:svg="http://www.w3.org/2000/svg"
+ xmlns="http://www.w3.org/2000/svg"
+ version="1.1"
+ width="744.09448819"
+ height="1052.3622047">
+ <defs
+ id="defs4" />
+ <metadata
+ id="metadata7">
+ <rdf:RDF>
+ <cc:Work
+ rdf:about="">
+ <dc:format>image/svg+xml</dc:format>
+ <dc:type
+ rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
+ <dc:title></dc:title>
+ </cc:Work>
+ </rdf:RDF>
+ </metadata>
+ <g
+ id="layer1" />
+</svg>
diff --git a/share/extensions/test/svg/empty-SVG.svg b/share/extensions/test/svg/empty-SVG.svg
new file mode 100644
index 000000000..475cc856b
--- /dev/null
+++ b/share/extensions/test/svg/empty-SVG.svg
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+
+<svg
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
+ xmlns:cc="http://creativecommons.org/ns#"
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:svg="http://www.w3.org/2000/svg"
+ xmlns="http://www.w3.org/2000/svg"
+ version="1.1"
+ width="744.09448819"
+ height="1052.3622047">
+</svg>
diff --git a/share/extensions/test/svg/multilayered-test.svg b/share/extensions/test/svg/multilayered-test.svg
new file mode 100644
index 000000000..c3bf929e9
--- /dev/null
+++ b/share/extensions/test/svg/multilayered-test.svg
@@ -0,0 +1,152 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+
+<svg
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
+ xmlns:cc="http://creativecommons.org/ns#"
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:svg="http://www.w3.org/2000/svg"
+ xmlns="http://www.w3.org/2000/svg"
+ xmlns:xlink="http://www.w3.org/1999/xlink"
+ xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+ width="210mm"
+ height="297mm"
+ id="svg2"
+ version="1.1"
+ inkscape:version="0.48+devel "
+ sodipodi:docname="Nouveau document 1">
+ <defs
+ id="defs4" />
+ <sodipodi:namedview
+ id="base"
+ pagecolor="#ffffff"
+ bordercolor="#666666"
+ borderopacity="1.0"
+ inkscape:pageopacity="0.0"
+ inkscape:pageshadow="2"
+ inkscape:zoom="0.35"
+ inkscape:cx="30.714286"
+ inkscape:cy="520"
+ inkscape:document-units="px"
+ inkscape:current-layer="layer3"
+ showgrid="false"
+ inkscape:window-width="1251"
+ inkscape:window-height="670"
+ inkscape:window-x="119"
+ inkscape:window-y="69"
+ inkscape:window-maximized="0" />
+ <metadata
+ id="metadata7">
+ <rdf:RDF>
+ <cc:Work
+ rdf:about="">
+ <dc:format>image/svg+xml</dc:format>
+ <dc:type
+ rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
+ <dc:title></dc:title>
+ </cc:Work>
+ </rdf:RDF>
+ </metadata>
+ <g
+ inkscape:groupmode="layer"
+ id="layer3"
+ inkscape:label="Bottom layer">
+ <g
+ id="g3930">
+ <path
+ transform="matrix(-0.97176714,-0.23594199,0.23594199,-0.97176714,541.8979,1030.862)"
+ inkscape:transform-center-y="21.296232"
+ inkscape:transform-center-x="0.78818963"
+ d="M 431.42857,463.79076 283.13917,424.83761 166.98297,524.91176 158.20567,371.84296 27.135259,292.29647 170,236.6479 205.15023,87.411314 302.22279,206.0874 455.01724,193.40062 372.14664,322.39504 z"
+ inkscape:randomized="0"
+ inkscape:rounded="0"
+ inkscape:flatsided="false"
+ sodipodi:arg2="1.3436561"
+ sodipodi:arg1="0.71533758"
+ sodipodi:r2="115.44059"
+ sodipodi:r1="230.8812"
+ sodipodi:cy="312.36218"
+ sodipodi:cx="257.14285"
+ sodipodi:sides="5"
+ id="path3902"
+ style="fill:#ffccaa;fill-opacity:1"
+ sodipodi:type="star" />
+ <text
+ sodipodi:linespacing="125%"
+ id="text3926"
+ y="723.79077"
+ x="245.71429"
+ style="font-size:40px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"
+ xml:space="preserve"><tspan
+ y="723.79077"
+ x="245.71429"
+ id="tspan3928"
+ sodipodi:role="line">Bottom layer</tspan></text>
+ </g>
+ </g>
+ <g
+ inkscape:groupmode="layer"
+ id="layer2"
+ inkscape:label="Middle layer">
+ <g
+ inkscape:groupmode="layer"
+ id="layer4"
+ inkscape:label="Middle sublayer">
+ <path
+ style="fill:#ffaaaa;fill-opacity:1"
+ d="m 522.85714,488.07648 c 0,73.37498 -71.63444,132.85715 -160,132.85715 -88.36556,0 -159.99999,-59.48217 -159.99999,-132.85715 0,-73.37497 71.63443,-132.85714 159.99999,-132.85714 88.36556,0 160,59.48217 160,132.85714 z"
+ id="path3900"
+ inkscape:connector-curvature="0" />
+ <text
+ xml:space="preserve"
+ style="font-size:40px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"
+ id="text3918"
+ sodipodi:linespacing="125%"><textPath
+ xlink:href="#path3900"
+ id="textPath3923"><tspan
+ id="tspan3920">Middle sublayer</tspan></textPath></text>
+ </g>
+ <g
+ id="g3913"
+ transform="translate(8.5714286,-94.285711)">
+ <rect
+ y="406.64789"
+ x="162.85715"
+ height="134.28572"
+ width="385.71429"
+ id="rect3898"
+ style="fill:#cccccc;fill-opacity:1" />
+ <text
+ sodipodi:linespacing="125%"
+ id="text3909"
+ y="520.93365"
+ x="294.28571"
+ style="font-size:40px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"
+ xml:space="preserve"><tspan
+ y="520.93365"
+ x="294.28571"
+ id="tspan3911"
+ sodipodi:role="line">Middle layer</tspan></text>
+ </g>
+ </g>
+ <g
+ inkscape:label="Top Layer"
+ inkscape:groupmode="layer"
+ id="layer1"
+ style="display:inline">
+ <text
+ xml:space="preserve"
+ style="font-size:40px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"
+ id="text3894"
+ sodipodi:linespacing="125%"><textPath
+ xlink:href="#path3904"
+ id="textPath3906"><tspan
+ id="tspan3896">Top layer</tspan></textPath></text>
+ <path
+ style="fill:#00d4aa;fill-opacity:1"
+ id="path3904"
+ d="m 199.54403,352.9691 c 33.89855,-23.39174 72.10651,-36.95679 109.79252,-52.48463 7.71344,-3.19326 15.44578,-6.34124 23.14032,-9.57978 26.03103,-10.95613 51.7881,-22.59387 76.79106,-35.76157 42.32507,-22.29031 32.37854,-17.45018 21.71695,-12.37413 27.69959,-16.89942 54.76258,-34.80763 82.06841,-52.32954 3.94676,-2.5326 7.78542,-5.23846 11.81547,-7.63629 13.93107,-8.28881 28.03813,-16.27818 42.05719,-24.41727 1.82085,-0.65301 3.535,-1.79625 5.46253,-1.95903 1.14748,-0.0969 2.55329,0.29335 3.23024,1.22493 4.4402,6.11031 -2.74745,15.55901 -5.48451,20.72818 -5.75765,10.57294 -11.80107,21.00672 -18.37568,31.09425 -8.69682,12.13204 -17.21613,24.35107 -25.30545,36.8994 -8.76999,14.06322 -13.80724,29.8609 -17.16277,45.97506 -1.61982,9.03135 -2.30641,16.44531 6.23493,21.70829 3.31001,1.71191 6.61295,2.19795 10.26307,2.25814 0,0 -34.1559,24.2492 -34.1559,24.2492 l 0,0 c -4.04274,-0.78094 -7.88137,-1.74859 -11.38493,-4.05868 -9.57886,-7.50134 -10.04511,-14.7248 -7.95368,-26.29078 3.70976,-16.48328 8.59159,-32.8557 17.13895,-47.54924 7.808,-12.43792 15.71401,-24.76749 24.43097,-36.58289 6.64463,-10.0123 12.98801,-20.22738 18.69995,-30.80719 1.06673,-2.02099 5.47855,-11.97387 6.83302,-13.43922 0.3422,-0.37021 1.06394,-0.32013 1.51003,-0.0852 0.35221,0.18545 -0.77587,0.17836 -1.1638,0.26755 -1.3924,0.57649 -2.7848,1.15299 -4.1772,1.72949 8.53309,-5.01782 16.92726,-10.27974 25.59928,-15.05345 4.46703,-2.45898 -8.64504,5.40995 -12.97447,8.10383 -28.33878,17.63307 -56.24248,35.94219 -84.66825,53.43629 -22.66355,13.24936 -55.91511,33.356 -81.64049,46.80647 -32.95242,17.22913 -67.12661,31.94029 -101.42871,46.2266 -18.19015,7.69388 -36.62175,14.9775 -54.55262,23.27042 -3.77844,1.7475 -7.50549,3.60582 -11.21421,5.49679 -2.53121,1.2906 -9.9408,5.50416 -7.50216,4.04617 10.489,-6.27105 21.10584,-12.32577 31.65876,-18.48866 0,0 -39.29882,15.37653 -39.29882,15.37653 z"
+ inkscape:connector-curvature="0" />
+ </g>
+</svg>
diff --git a/share/extensions/test/svg_and_media_zip_output.test.py b/share/extensions/test/svg_and_media_zip_output.test.py
index 42610f0af..7f68dd6ef 100755
--- a/share/extensions/test/svg_and_media_zip_output.test.py
+++ b/share/extensions/test/svg_and_media_zip_output.test.py
@@ -18,10 +18,10 @@ class SVG_and_Media_ZIP_Output_BasicTest(unittest.TestCase):
def test_run_without_parameters(self):
args = [ 'minimal-blank.svg' ]
- e = SVG_and_Media_ZIP_Output()
+ e = CompressedMediaOutput()
e.affect( args, False )
#self.assertEqual( e.something, 'some value', 'A commentary about that.' )
- e.clear_tmp()
+ #e.clear_tmp()
if __name__ == '__main__':
unittest.main()