Fix tests

This commit is contained in:
Julien Duponchelle committed 2015-02-26 10:45:37 +01:00
1 parent c07b8c746e
commit aa40e6097e
5 files changed
+5 -5

No files matched your search

+1 -1
View File
@@ -19,7 +19,7 @@ import pytest
from tests.utils import asyncio_patch
@pytest.yield_fixture(scope="module")
@pytest.yield_fixture(scope="function")
def vm(server, project, monkeypatch):
vboxmanage_path = "/fake/VboxManage"
+1 -1
View File
@@ -21,7 +21,7 @@ from tests.utils import asyncio_patch
from unittest.mock import patch
@pytest.fixture(scope="module")
@pytest.fixture(scope="function")
def vm(server, project):
response = server.post("/projects/{project_id}/vpcs/vms".format(project_id=project.id), {"name": "PC TEST 1"})
assert response.status == 201