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()