Skip to content

Commit 2ae391b

Browse files
TC_LTIME_3_1 object has no attribute skip_all_remaining_steps error, update skip_all_remaining_steps calls to mark_all_remaining_steps_skipped (project-chip#42106)
1 parent b7bce90 commit 2ae391b

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

src/python_testing/TC_CNET_4_10.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ async def test_TC_CNET_4_10(self):
204204
current_cluster_connected = connected_network_count[self.get_endpoint()] == 1
205205
if not current_cluster_connected:
206206
logging.info("Current cluster is not connected, skipping all remaining test steps")
207-
self.skip_all_remaining_steps()
207+
self.mark_all_remaining_steps_skipped(4)
208208
return
209209

210210
# Step 4: Arm failsafe and verify response

src/python_testing/TC_CNET_4_9.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ async def test_TC_CNET_4_9(self):
146146

147147
if not current_cluster_connected:
148148
logging.info("Current cluster is not connected, skipping all remaining test steps")
149-
self.skip_all_remaining_steps(4)
149+
self.mark_all_remaining_steps_skipped(4)
150150
return
151151

152152
# TH reads Networks attribute from the DUT on the current endpoint and saves the number of entries as "NumNetworks"

src/python_testing/TC_LTIME_3_1.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ async def test_TC_LTIME_3_1(self):
141141
self.step(9)
142142
feature_map = await self.read_single_attribute_check_success(self.cluster, self.cluster.Attributes.FeatureMap)
143143
if (feature_map & self.cluster.Bitmaps.Feature.kCalendarFormat) == 0:
144-
self.skip_all_remaining_steps(10)
144+
self.mark_all_remaining_steps_skipped(10)
145145
return
146146

147147
self.step(10)

src/python_testing/TC_LUNIT_3_1.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ async def test_TC_LUNIT_3_1(self):
159159
self.mark_current_step_skipped()
160160

161161
else:
162-
self.skip_all_remaining_steps(1)
162+
self.mark_all_remaining_steps_skipped(1)
163163
return
164164

165165

0 commit comments

Comments
 (0)