mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-03 05:51:15 +02:00
Return a compute name it could be different of compute id
This commit is contained in:
6 files changed
+48
-5
No files matched your search
@@ -62,7 +62,8 @@ def test_compute_list(http_controller, controller):
|
||||
"host": "example.com",
|
||||
"port": 84,
|
||||
"user": "julien",
|
||||
"password": "secure"
|
||||
"password": "secure",
|
||||
"name": "My super server"
|
||||
}
|
||||
response = http_controller.post("/computes", params)
|
||||
assert response.status == 201
|
||||
@@ -78,6 +79,8 @@ def test_compute_list(http_controller, controller):
|
||||
'host': 'example.com',
|
||||
'port': 84,
|
||||
'protocol': 'http',
|
||||
'user': 'julien'
|
||||
'user': 'julien',
|
||||
'name': 'My super server'
|
||||
|
||||
}
|
||||
]
|
||||
Reference in new issue
Block a user