#2769 - update observation tests with new parameter
This commit is contained in:
@@ -33,6 +33,7 @@ def test_firewall_observation():
|
||||
wildcard_list=["0.0.0.255", "0.0.0.1"],
|
||||
port_list=["HTTP", "DNS"],
|
||||
protocol_list=["TCP"],
|
||||
include_users=False,
|
||||
)
|
||||
|
||||
observation = firewall_observation.observe(firewall.describe_state())
|
||||
|
||||
@@ -39,6 +39,7 @@ def test_host_observation(simulation):
|
||||
folders=[],
|
||||
network_interfaces=[],
|
||||
file_system_requires_scan=True,
|
||||
include_users=False,
|
||||
)
|
||||
|
||||
assert host_obs.space["operating_status"] == spaces.Discrete(5)
|
||||
|
||||
@@ -27,7 +27,7 @@ def test_router_observation():
|
||||
port_list=["HTTP", "DNS"],
|
||||
protocol_list=["TCP"],
|
||||
)
|
||||
router_observation = RouterObservation(where=[], ports=ports, num_ports=8, acl=acl)
|
||||
router_observation = RouterObservation(where=[], ports=ports, num_ports=8, acl=acl, include_users=False)
|
||||
|
||||
# Observe the state using the RouterObservation instance
|
||||
observed_output = router_observation.observe(router.describe_state())
|
||||
|
||||
Reference in New Issue
Block a user