Fix tests and clean.

This commit is contained in:
Jeremy committed 2015-01-21 19:30:24 -07:00
1 parent 3b7d08a80e
commit 1a43ff118c
6 files changed
+36 -19

No files matched your search

+1 -1
View File
@@ -48,4 +48,4 @@ def test_json(tmpdir):
def test_vm_working_directory(tmpdir):
p = Project(location=str(tmpdir))
assert os.path.exists(p.vm_working_directory('vpcs', '00010203-0405-0607-0809-0a0b0c0d0e0f'))
assert os.path.exists(os.path.join(str(tmpdir), p.uuid, 'vms', 'vpcs', '00010203-0405-0607-0809-0a0b0c0d0e0f'))
assert os.path.exists(os.path.join(str(tmpdir), p.uuid, 'vpcs', '00010203-0405-0607-0809-0a0b0c0d0e0f'))
-2
View File
@@ -21,12 +21,10 @@ import os
from tests.utils import asyncio_patch
from asyncio.subprocess import Process
from unittest.mock import patch, MagicMock
from gns3server.modules.vpcs.vpcs_vm import VPCSVM
from gns3server.modules.vpcs.vpcs_error import VPCSError
from gns3server.modules.vpcs import VPCS
from gns3server.modules.port_manager import PortManager
@pytest.fixture(scope="module")