Skip to content

Commit 3ec7bbc

Browse files
j-ororkececille
andauthored
Apply suggestions from code review from Cecille
Adding these suggestions from Cecille after testing in local dev env Co-authored-by: C Freeman <cecille@google.com>
1 parent 115de19 commit 3ec7bbc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/python_testing/TC_TIMESYNC_2_1.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,10 @@ async def test_TC_TIMESYNC_2_1(self):
5151
self.supports_ntps = bool(features & Clusters.TimeSynchronization.Bitmaps.Feature.kNTPServer)
5252
self.supports_trusted_time_source = bool(features & Clusters.TimeSynchronization.Bitmaps.Feature.kTimeSyncClient)
5353

54-
time_cluster = Clusters.Objects.TimeSynchronization
55-
timesync_attr_list = Clusters.Objects.TimeSynchronization.Attributes.AttributeList
54+
time_cluster = Clusters.TimeSynchronization
55+
timesync_attr_list = time_cluster.Attributes.AttributeList
5656
attribute_list = await self.read_single_attribute_check_success(endpoint=endpoint, cluster=time_cluster, attribute=timesync_attr_list)
57-
timesource_attr_id = Clusters.Objects.TimeSynchronization.Attributes.TimeSource.attribute_id
57+
timesource_attr_id = time_cluster.Attributes.TimeSource.attribute_id
5858

5959
self.print_step(1, "Commissioning, already done")
6060
attributes = Clusters.TimeSynchronization.Attributes

0 commit comments

Comments
 (0)