Skip to content

Commit 115de19

Browse files
authored
Updated TC_TIMESYNC_2_2 with suggestions from Cecille
- Changed class name value assigned to time_cluster variable - Updated timesync_attr_list and timesource_attr_id variables to contain time_cluster in value in place of Clusters.TimeSynchronization
1 parent 82929a9 commit 115de19

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/python_testing/TC_TIMESYNC_2_2.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,10 @@ async def test_TC_TIMESYNC_2_2(self):
4545
# Time sync is required to be on endpoint 0 if it is present
4646
endpoint = 0
4747

48-
time_cluster = Clusters.Objects.TimeSynchronization
49-
timesync_attr_list = Clusters.Objects.TimeSynchronization.Attributes.AttributeList
48+
time_cluster = Clusters.TimeSynchronization
49+
timesync_attr_list = time_cluster.Attributes.AttributeList
5050
attribute_list = await self.read_single_attribute_check_success(endpoint=endpoint, cluster=time_cluster, attribute=timesync_attr_list)
51-
timesource_attr_id = Clusters.Objects.TimeSynchronization.Attributes.TimeSource.attribute_id
51+
timesource_attr_id = time_cluster.Attributes.TimeSource.attribute_id
5252

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

0 commit comments

Comments
 (0)