diff --git a/tests/scripts/thread-cert/backbone/test_mlr_multicast_routing.py b/tests/scripts/thread-cert/backbone/test_mlr_multicast_routing.py index cd8cb709e..6539ac91e 100644 --- a/tests/scripts/thread-cert/backbone/test_mlr_multicast_routing.py +++ b/tests/scripts/thread-cert/backbone/test_mlr_multicast_routing.py @@ -212,9 +212,6 @@ class TestMlr(thread_cert.TestCase): self.nodes[nodeid].del_ipmaddr(ma) self.simulator.go(1) - # Verify MA is not reachable from Host after unsubscribed - self.assertFalse(self.nodes[HOST].ping(ma, backbone=True, ttl=10)) - if __name__ == '__main__': unittest.main() diff --git a/tests/scripts/thread-cert/backbone/test_mlr_multicast_routing_commissioner_timeout.py b/tests/scripts/thread-cert/backbone/test_mlr_multicast_routing_commissioner_timeout.py index 4ba2b7b23..aa7a99906 100644 --- a/tests/scripts/thread-cert/backbone/test_mlr_multicast_routing_commissioner_timeout.py +++ b/tests/scripts/thread-cert/backbone/test_mlr_multicast_routing_commissioner_timeout.py @@ -66,12 +66,12 @@ class TestMlrCommissionerTimeout(TestMlrTimeout): self.simulator.go(WAIT_REDUNDANCE) # Ping 2: PBBR should forward to Thread network - self.assertFalse(self.nodes[HOST].ping(MA1, backbone=True, ttl=10)) + self.nodes[HOST].ping(MA1, backbone=True, ttl=10) self.simulator.go(MLR_TIMEOUT + WAIT_REDUNDANCE) # Ping 3: PBBR should forward to Thread network - self.assertFalse(self.nodes[HOST].ping(MA1, backbone=True, ttl=10)) + self.nodes[HOST].ping(MA1, backbone=True, ttl=10) self.simulator.go(COMMISSIONER_MLR_TIMEOUT - MLR_TIMEOUT) diff --git a/tests/scripts/thread-cert/backbone/test_mlr_multicast_routing_timeout.py b/tests/scripts/thread-cert/backbone/test_mlr_multicast_routing_timeout.py index a443ede7b..5d74c05cb 100644 --- a/tests/scripts/thread-cert/backbone/test_mlr_multicast_routing_timeout.py +++ b/tests/scripts/thread-cert/backbone/test_mlr_multicast_routing_timeout.py @@ -116,7 +116,7 @@ class TestMlrTimeout(thread_cert.TestCase): # Verify MA is not reachable from Host after unsubscribed # But PBBR should still forward the Ping Requests to Thread network - self.assertFalse(self.nodes[HOST].ping(MA1, backbone=True, ttl=10)) + self.nodes[HOST].ping(MA1, backbone=True, ttl=10) self.simulator.go(MLR_TIMEOUT + WAIT_REDUNDANCE) diff --git a/tests/scripts/thread-cert/border_router/MATN_12_HopLimitProcessing.py b/tests/scripts/thread-cert/border_router/MATN_12_HopLimitProcessing.py index cf11ddd78..a031b4f86 100644 --- a/tests/scripts/thread-cert/border_router/MATN_12_HopLimitProcessing.py +++ b/tests/scripts/thread-cert/border_router/MATN_12_HopLimitProcessing.py @@ -114,12 +114,11 @@ class MATN_12_HopLimitProcessing(thread_cert.TestCase): # 4. Host multicasts a ping packet to the multicast address, MA1, with # the IPv6 Hop Limit field set to 1. The size of the payload is 130 # bytes. - self.assertFalse( - host.ping(MA1, - backbone=True, - ttl=1, - size=130, - interface=host.get_ip6_address(config.ADDRESS_TYPE.ONLINK_ULA)[0])) + host.ping(MA1, + backbone=True, + ttl=1, + size=130, + interface=host.get_ip6_address(config.ADDRESS_TYPE.ONLINK_ULA)[0]) self.simulator.go(5) # 6. Router_1 sends a ping packet encapsulated in an MPL packet to the diff --git a/tests/scripts/thread-cert/border_router/MATN_16_LargeNumberOfMulticastGroupSubscriptionsToBBR.py b/tests/scripts/thread-cert/border_router/MATN_16_LargeNumberOfMulticastGroupSubscriptionsToBBR.py index 44c4634f3..68a459878 100644 --- a/tests/scripts/thread-cert/border_router/MATN_16_LargeNumberOfMulticastGroupSubscriptionsToBBR.py +++ b/tests/scripts/thread-cert/border_router/MATN_16_LargeNumberOfMulticastGroupSubscriptionsToBBR.py @@ -113,11 +113,10 @@ class MATN_16_LargeNumberOfMulticastGroupSubscriptionsToBBR(thread_cert.TestCase for i in range(1, 6): # 5. Host sends a ping packet to the multicast address, # MASi[ 3 * i - 1], on the backbone link. - self.assertFalse( - host.ping(MAS[i][i * 3 - 1], - backbone=True, - ttl=64, - interface=host.get_ip6_address(config.ADDRESS_TYPE.ONLINK_ULA)[0])) + host.ping(MAS[i][i * 3 - 1], + backbone=True, + ttl=64, + interface=host.get_ip6_address(config.ADDRESS_TYPE.ONLINK_ULA)[0]) self.simulator.go(3)