From c2420318ba32766a7d3fae9059b91815c338edc6 Mon Sep 17 00:00:00 2001 From: Julien Duponchelle Date: Tue, 27 Sep 2016 18:03:44 +0200 Subject: [PATCH] Fix test of drawings under windows --- tests/controller/test_drawing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/controller/test_drawing.py b/tests/controller/test_drawing.py index 4d19081a..725a2e29 100644 --- a/tests/controller/test_drawing.py +++ b/tests/controller/test_drawing.py @@ -120,4 +120,4 @@ def test_image_svg(project): assert drawing._svg == "fdf4d3035774a72ba165f7199b9431b2.svg" assert os.path.exists(os.path.join(project.pictures_directory, "fdf4d3035774a72ba165f7199b9431b2.svg")) - assert drawing.svg == svg + assert drawing.svg.replace("\r", "") == svg.replace("\r", "")