UT: Fix report test

This commit is contained in:
vakarisz 2022-09-30 15:54:47 +03:00 committed by Kekoa Kaaikala
parent d0d08f7649
commit e8ed30660e
1 changed files with 4 additions and 4 deletions

View File

@ -48,15 +48,15 @@ MACHINES = [MACHINE_1, MACHINE_2, MACHINE_3, ISLAND_MACHINE]
EXPECTED_SCANNED_MACHINES = [
{
"hostname": MACHINE_1.hostname,
"ip_addresses": MACHINE_1.network_interfaces,
"accessible_from_nodes": [ISLAND_MACHINE],
"ip_addresses": list(map(str, MACHINE_1.network_interfaces)),
"accessible_from_nodes": [ISLAND_MACHINE.dict(simplify=True)],
"services": [],
"domain_name": "",
},
{
"hostname": MACHINE_2.hostname,
"ip_addresses": MACHINE_2.network_interfaces,
"accessible_from_nodes": [MACHINE_1],
"ip_addresses": list(map(str, MACHINE_2.network_interfaces)),
"accessible_from_nodes": [MACHINE_1.dict(simplify=True)],
"services": [],
"domain_name": "",
},