mirror of
https://github.com/GNS3/gns3-server.git
synced 2025-06-15 13:58:21 +00:00
Return a compute name it could be different of compute id
This commit is contained in:
@ -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