File tree 1 file changed +7
-0
lines changed
1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -61,6 +61,10 @@ async def test_TC_PWRTL_2_1(self):
61
61
asserts .assert_less_equal (len (available_endpoints ), 21 ,
62
62
"AvailableEndpoints length %d must be less than 21!" % len (available_endpoints ))
63
63
64
+ else :
65
+ logging .info ('Skipping test as available endpoints attribute ID not in attribute list on DUT' )
66
+ return
67
+
64
68
self .print_step (3 , "Read ActiveEndpoints attribute" )
65
69
if act_endpoints_attr_id in attribute_list :
66
70
active_endpoints = await self .read_single_attribute_check_success (endpoint = endpoint , cluster = Clusters .Objects .PowerTopology , attribute = attributes .ActiveEndpoints )
@@ -70,6 +74,9 @@ async def test_TC_PWRTL_2_1(self):
70
74
asserts .assert_true (active_endpoints == NullValue or active_endpoints == [],
71
75
"ActiveEndpoints should be null when AvailableEndpoints is null: %s" % active_endpoints )
72
76
77
+ else :
78
+ logging .info ('Skipping test as active endpoints attribute ID not in attribute list on DUT' )
79
+ return
73
80
74
81
if __name__ == "__main__" :
75
82
default_matter_test_main ()
You can’t perform that action at this time.
0 commit comments