Cleanup unused and duplicates

This commit is contained in:
Julien Duponchelle committed 2015-11-09 12:14:25 +01:00
1 parent 58d2a5d4b0
commit 1248584841
12 files changed
+9 -53

No files matched your search

-10
View File
@@ -49,16 +49,6 @@ def base_params(tmpdir, fake_qemu_bin):
return {"name": "PC TEST 1", "qemu_path": fake_qemu_bin}
@pytest.fixture
def fake_qemu_bin():
bin_path = os.path.join(os.environ["PATH"], "qemu-system-x86_64")
with open(bin_path, "w+") as f:
f.write("1")
os.chmod(bin_path, stat.S_IRUSR | stat.S_IWUSR | stat.S_IXUSR)
return bin_path
@pytest.fixture
def vm(server, project, base_params):
response = server.post("/projects/{project_id}/qemu/vms".format(project_id=project.id), base_params)