#2887 - Test changes to correct NodeOperatingState is correct per passed config.

This commit is contained in:
Charlie Crane
2025-01-28 09:37:58 +00:00
parent 0570ab984d
commit e1f2f73db0
4 changed files with 9 additions and 8 deletions

View File

@@ -57,7 +57,7 @@ def test_link_observation():
net = Network()
sim = Simulation(network=net)
switch: Switch = Switch.from_config(
config={"type": "switch", "hostname": "switch", "num_ports": 5, "operating_state": NodeOperatingState.ON}
config={"type": "switch", "hostname": "switch", "num_ports": 5, "operating_state": "ON"}
)
computer_1: Computer = Computer.from_config(
config={