1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-11-28 11:18:11 +00:00

Fix test of drawings under windows

This commit is contained in:
Julien Duponchelle 2016-09-27 18:03:44 +02:00
parent fd3ac65eb5
commit c2420318ba
No known key found for this signature in database
GPG Key ID: CE8B29639E07F5E8

View File

@ -120,4 +120,4 @@ def test_image_svg(project):
assert drawing._svg == "fdf4d3035774a72ba165f7199b9431b2.svg" assert drawing._svg == "fdf4d3035774a72ba165f7199b9431b2.svg"
assert os.path.exists(os.path.join(project.pictures_directory, "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", "")