test: static_multicast_filters: Fix indendation

This commit is contained in:
Mattias Walström
2026-06-30 09:18:52 +02:00
parent 2744e6ee85
commit 1b11bae8eb
@@ -143,11 +143,11 @@ with infamy.Test() as test:
set_static_multicast_filter(target, ipv4_multicast_group, mreceive)
until(lambda: iface.exist_bridge_multicast_filter(target, ipv4_multicast_group, mreceive, "br0"))
with test.step("Verify that the group is still forwarded to host:data2"):
receive_ns.must_receive(f"ip dst {ipv4_multicast_group}")
with test.step("Verify that the group is still forwarded to host:data2"):
receive_ns.must_receive(f"ip dst {ipv4_multicast_group}")
with test.step("Verify that the group is no longer forwarded to host:data3"):
nojoin_ns.must_not_receive(f"ip dst {ipv4_multicast_group}")
with test.step("Verify that the group is no longer forwarded to host:data3"):
nojoin_ns.must_not_receive(f"ip dst {ipv4_multicast_group}")
with test.step("Start MAC multicast sender on host:data1, group 01:00:00:01:02:03"):
@@ -158,15 +158,15 @@ with infamy.Test() as test:
infamy.parallel(
lambda: receive_ns.must_receive(f"ether dst {mac_multicast_group}"),
lambda: nojoin_ns.must_receive(f"ether dst {mac_multicast_group}"))
with test.step("Enable MAC multicast filter on host:data2, group 01:00:00:01:02:03"):
set_static_multicast_filter(target, mac_multicast_group, mreceive)
until(lambda: iface.exist_bridge_multicast_filter(target, mac_multicast_group, mreceive, "br0"))
with test.step("Verify that the MAC group is still forwarded to host:data2"):
receive_ns.must_receive(f"ether dst {mac_multicast_group}"),
with test.step("Verify that the MAC group is still forwarded to host:data2"):
receive_ns.must_receive(f"ether dst {mac_multicast_group}")
with test.step("Verify that the MAC group is no longer forwarded to host:data3"):
nojoin_ns.must_not_receive(f"ether dst {mac_multicast_group}")
with test.step("Verify that the MAC group is no longer forwarded to host:data3"):
nojoin_ns.must_not_receive(f"ether dst {mac_multicast_group}")
test.succeed()