From 1b11bae8eb1b99a0fe60300b655fb089117927f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mattias=20Walstr=C3=B6m?= Date: Mon, 29 Jun 2026 14:27:54 +0200 Subject: [PATCH] test: static_multicast_filters: Fix indendation --- .../static_multicast_filters/test.py | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/test/case/interfaces/static_multicast_filters/test.py b/test/case/interfaces/static_multicast_filters/test.py index e714819c..309ad795 100755 --- a/test/case/interfaces/static_multicast_filters/test.py +++ b/test/case/interfaces/static_multicast_filters/test.py @@ -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()