mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-22 05:55:14 +02:00
/start /stop and /suspend API for VM via container
This commit is contained in:
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
|
||||
|
||||
Reference in new issue
Block a user