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

Fix crash in some tests

This commit is contained in:
Julien Duponchelle 2017-04-13 14:24:07 +02:00
parent b755840a27
commit 57ba7ab801
No known key found for this signature in database
GPG Key ID: CE8B29639E07F5E8

View File

@ -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: