1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-11-28 11:18:11 +00:00

Make sure the compute has an id

This commit is contained in:
Julien Duponchelle 2016-09-30 11:20:25 +02:00
parent 4d6d0e96c6
commit 1e0b724e47
No known key found for this signature in database
GPG Key ID: CE8B29639E07F5E8

View File

@ -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"