Make sure the compute has an id

pull/712/head
Julien Duponchelle 8 years ago
parent 4d6d0e96c6
commit 1e0b724e47
No known key found for this signature in database
GPG Key ID: CE8B29639E07F5E8

@ -107,6 +107,7 @@ def test_import_computes_1_x(controller, controller_config_path, async_run):
async_run(controller.load())
for compute in controller.computes.values():
if compute.id != "local":
assert len(compute.id) == 36
assert compute.host == "127.0.0.1"
assert compute.port == 3081
assert compute.protocol == "http"

Loading…
Cancel
Save