forked from p15670423/monkey
UT: Fix report test
This commit is contained in:
parent
d0d08f7649
commit
e8ed30660e
|
@ -48,15 +48,15 @@ MACHINES = [MACHINE_1, MACHINE_2, MACHINE_3, ISLAND_MACHINE]
|
||||||
EXPECTED_SCANNED_MACHINES = [
|
EXPECTED_SCANNED_MACHINES = [
|
||||||
{
|
{
|
||||||
"hostname": MACHINE_1.hostname,
|
"hostname": MACHINE_1.hostname,
|
||||||
"ip_addresses": MACHINE_1.network_interfaces,
|
"ip_addresses": list(map(str, MACHINE_1.network_interfaces)),
|
||||||
"accessible_from_nodes": [ISLAND_MACHINE],
|
"accessible_from_nodes": [ISLAND_MACHINE.dict(simplify=True)],
|
||||||
"services": [],
|
"services": [],
|
||||||
"domain_name": "",
|
"domain_name": "",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"hostname": MACHINE_2.hostname,
|
"hostname": MACHINE_2.hostname,
|
||||||
"ip_addresses": MACHINE_2.network_interfaces,
|
"ip_addresses": list(map(str, MACHINE_2.network_interfaces)),
|
||||||
"accessible_from_nodes": [MACHINE_1],
|
"accessible_from_nodes": [MACHINE_1.dict(simplify=True)],
|
||||||
"services": [],
|
"services": [],
|
||||||
"domain_name": "",
|
"domain_name": "",
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue