Skip to content

Commit

Permalink
Fix tests to new logic
Browse files Browse the repository at this point in the history
  • Loading branch information
arneboockmeyer committed Aug 1, 2023
1 parent 90b2327 commit fb83e2d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/infrastructureprovider_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def test_only_apply_for():
route_es1_as1 = topologyhelper.get_route_by_signal_names(topology, "60ES1", "60AS1")
asyncio.run(interlockinghelper.set_route(interlocking, route_es1_as1, True, "RB101"))
route_bs2_bs3 = topologyhelper.get_route_by_signal_names(topology, "60BS2", "60BS3")
asyncio.run(interlockinghelper.set_route(interlocking, route_bs2_bs3, True, "RB101"))
asyncio.run(interlockinghelper.set_route(interlocking, route_bs2_bs3, True, "RB102"))

signal_es1 = interlockinghelper.get_interlocking_signal_by_name(interlocking, "60ES1").yaramo_signal
signal_bs2 = interlockinghelper.get_interlocking_signal_by_name(interlocking, "60BS2").yaramo_signal
Expand All @@ -97,7 +97,7 @@ def test_apply_for_all_except():
route_es1_as1 = topologyhelper.get_route_by_signal_names(topology, "60ES1", "60AS1")
asyncio.run(interlockinghelper.set_route(interlocking, route_es1_as1, True, "RB101"))
route_bs2_bs3 = topologyhelper.get_route_by_signal_names(topology, "60BS2", "60BS3")
asyncio.run(interlockinghelper.set_route(interlocking, route_bs2_bs3, True, "RB101"))
asyncio.run(interlockinghelper.set_route(interlocking, route_bs2_bs3, True, "RB102"))

signal_es1 = interlockinghelper.get_interlocking_signal_by_name(interlocking, "60ES1").yaramo_signal
signal_bs2 = interlockinghelper.get_interlocking_signal_by_name(interlocking, "60BS2").yaramo_signal
Expand Down

0 comments on commit fb83e2d

Please sign in to comment.