From 57ba7ab8018b62d56f34b4b31614620db5dee11e Mon Sep 17 00:00:00 2001 From: Julien Duponchelle Date: Thu, 13 Apr 2017 14:24:07 +0200 Subject: [PATCH] Fix crash in some tests --- tests/modules/test_project.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/modules/test_project.py b/tests/modules/test_project.py index c170879a..d6946770 100644 --- a/tests/modules/test_project.py +++ b/tests/modules/test_project.py @@ -216,15 +216,15 @@ def test_get_default_project_directory(monkeypatch): def test_clean_project_directory(tmpdir): # A non anonymous project with uuid. - project1 = tmpdir / uuid4() + project1 = tmpdir / str(uuid4()) project1.mkdir() # A non anonymous project. - oldproject = tmpdir / uuid4() + oldproject = tmpdir / str(uuid4()) oldproject.mkdir() # an anonymous project - project2 = tmpdir / uuid4() + project2 = tmpdir / str(uuid4()) project2.mkdir() tmp = (project2 / ".gns3_temporary") with open(str(tmp), 'w+') as f: