Return a compute name it could be different of compute id

This commit is contained in:
Julien Duponchelle
2016-05-23 11:20:52 +02:00
parent 3e6aec016b
commit f6a3899603
6 changed files with 48 additions and 5 deletions

View File

@ -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'
}
]