File tree 1 file changed +2
-3
lines changed
1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 22
22
from matter_testing_support import MatterBaseTest , async_test_body , default_matter_test_main
23
23
from mobly import asserts
24
24
25
+
25
26
class TC_PWRTL_2_1 (MatterBaseTest ):
26
27
27
28
def pics_TC_PWRTL_2_1 (self ) -> list [str ]:
@@ -49,7 +50,7 @@ async def test_TC_PWRTL_2_1(self):
49
50
logging .info ("AvailableEndpoints: %s" % (available_endpoints ))
50
51
51
52
asserts .assert_less_equal (len (available_endpoints ), 21 ,
52
- "AvailableEndpoints length %d must be less than 21!" % len (available_endpoints ))
53
+ "AvailableEndpoints length %d must be less than 21!" % len (available_endpoints ))
53
54
54
55
if not self .check_pics ("PWRTL.S.A0001" ):
55
56
logging .info ("Test skipped because PICS PWRTL.S.A0001 is not set" )
@@ -61,8 +62,6 @@ async def test_TC_PWRTL_2_1(self):
61
62
62
63
if available_endpoints == NullValue :
63
64
asserts .assert_true (active_endpoints == NullValue , "ActiveEndpoints should be null when AvailableEndpoints is null: %s" % active_endpoints )
64
-
65
-
66
65
67
66
if __name__ == "__main__" :
68
67
default_matter_test_main ()
You can’t perform that action at this time.
0 commit comments