Skip to content

Commit a2f059e

Browse files
restyled-commitsj-ororke
authored andcommitted
Restyled by autopep8
1 parent 91d1350 commit a2f059e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/python_testing/TC_TIMESYNC_2_1.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,13 @@ async def test_TC_TIMESYNC_2_1(self):
3838

3939
features = await self.read_single_attribute(dev_ctrl=self.default_controller, node_id=self.dut_node_id,
4040
endpoint=endpoint, attribute=Clusters.TimeSynchronization.Attributes.FeatureMap)
41-
41+
4242
self.supports_time_zone = bool(features & Clusters.TimeSynchronization.Bitmaps.Feature.kTimeZone)
4343
self.supports_ntpc = bool(features & Clusters.TimeSynchronization.Bitmaps.Feature.kNTPClient)
4444
self.supports_ntps = bool(features & Clusters.TimeSynchronization.Bitmaps.Feature.kNTPServer)
4545
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+
4848
# Reading attributes from DUT
4949
timesync_attr_list = Clusters.Objects.TimeSynchronization.Attributes.AttributeList
5050
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):
5555

5656
self.print_step(1, "Commissioning, already done")
5757
attributes = Clusters.TimeSynchronization.Attributes
58-
58+
5959
self.print_step(2, "Read Granularity attribute")
6060
granularity_dut = await self.read_ts_attribute_expect_success(endpoint=endpoint, attribute=attributes.Granularity)
6161
asserts.assert_less(granularity_dut, Clusters.TimeSynchronization.Enums.GranularityEnum.kUnknownEnumValue,

0 commit comments

Comments
 (0)