@@ -38,13 +38,13 @@ async def test_TC_TIMESYNC_2_1(self):
38
38
39
39
features = await self .read_single_attribute (dev_ctrl = self .default_controller , node_id = self .dut_node_id ,
40
40
endpoint = endpoint , attribute = Clusters .TimeSynchronization .Attributes .FeatureMap )
41
-
41
+
42
42
self .supports_time_zone = bool (features & Clusters .TimeSynchronization .Bitmaps .Feature .kTimeZone )
43
43
self .supports_ntpc = bool (features & Clusters .TimeSynchronization .Bitmaps .Feature .kNTPClient )
44
44
self .supports_ntps = bool (features & Clusters .TimeSynchronization .Bitmaps .Feature .kNTPServer )
45
45
self .supports_trusted_time_source = bool (features & Clusters .TimeSynchronization .Bitmaps .Feature .kTimeSyncClient )
46
- timesource_attr_id = Clusters .Objects .TimeSynchronization .Attributes .TimeSource .attribute_id
47
-
46
+ timesource_attr_id = Clusters .Objects .TimeSynchronization .Attributes .TimeSource .attribute_id
47
+
48
48
# Reading attributes from DUT
49
49
timesync_attr_list = Clusters .Objects .TimeSynchronization .Attributes .AttributeList
50
50
read_request = await self .default_controller .ReadAttribute (self .dut_node_id , [timesync_attr_list ])
@@ -55,7 +55,7 @@ async def test_TC_TIMESYNC_2_1(self):
55
55
56
56
self .print_step (1 , "Commissioning, already done" )
57
57
attributes = Clusters .TimeSynchronization .Attributes
58
-
58
+
59
59
self .print_step (2 , "Read Granularity attribute" )
60
60
granularity_dut = await self .read_ts_attribute_expect_success (endpoint = endpoint , attribute = attributes .Granularity )
61
61
asserts .assert_less (granularity_dut , Clusters .TimeSynchronization .Enums .GranularityEnum .kUnknownEnumValue ,
0 commit comments