1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-12-23 23:38:21 +00:00

Fix test manager

This commit is contained in:
Julien Duponchelle 2015-03-16 12:08:23 +01:00
parent cf247a9301
commit c05edfe415

View File

@ -65,6 +65,7 @@ def test_create_vm_old_topology(loop, project, tmpdir, port_manager):
project_dir = str(tmpdir / "testold")
vm_dir = os.path.join(project_dir, "testold-files", "vpcs", "pc-1")
project.path = project_dir
project.name = "testold"
os.makedirs(vm_dir, exist_ok=True)
with open(os.path.join(vm_dir, "startup.vpc"), "w+") as f:
f.write("1")