summaryrefslogtreecommitdiff
path: root/gerbonara/tests/test_rs274x.py
diff options
context:
space:
mode:
Diffstat (limited to 'gerbonara/tests/test_rs274x.py')
-rw-r--r--gerbonara/tests/test_rs274x.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/gerbonara/tests/test_rs274x.py b/gerbonara/tests/test_rs274x.py
index 51fb910..5a3916a 100644
--- a/gerbonara/tests/test_rs274x.py
+++ b/gerbonara/tests/test_rs274x.py
@@ -473,6 +473,8 @@ def test_svg_export(reference, tmpfile):
ref_svg = tmpfile('Reference export', '.svg')
ref_png = tmpfile('Reference render', '.png')
gerbv_export(reference, ref_svg, origin=bounds[0], size=bounds[1], fg='#000000', bg='#ffffff')
+ with svg_soup(ref_svg) as soup:
+ cleanup_gerbv_svg(soup)
svg_to_png(ref_svg, ref_png, dpi=300, bg='white')
out_png = tmpfile('Output render', '.png')