/start /stop and /suspend API for VM via container

This commit is contained in:
Julien Duponchelle committed 2016-04-12 18:02:36 +02:00
1 parent ad7ca86f32
commit 2055cdea5e
5 files changed
+144 -1

No files matched your search

@@ -22,7 +22,7 @@ import pytest
def test_udp_allocation(http_hypervisor, project):
response = http_hypervisor.post('/projects/{}/ports/udp'.format(project.id), {}, example=True)
assert response.status == 201
assert response.json == {'udp_port': 10000}
assert response.json['udp_port'] is not None
# Netfifaces is not available on Travis