Skip to content

Commit 128959e

Browse files
committed
Fix naming of Test steps.
1 parent 7515363 commit 128959e

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

src/python_testing/TCP_Tests.py

+14-14
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,10 @@ async def teardown_test(self):
4848
await self.send_single_cmd(cmd=cmd, endpoint=0,
4949
payloadCapability=ChipDeviceCtrl.TransportPayloadCapability.LARGE_PAYLOAD)
5050

51-
def pics_SC_8_1(self):
51+
def pics_TC_SC_8_1(self):
5252
return ['MCORE.SC.TCP']
5353

54-
def steps_SC_8_1(self) -> list[TestStep]:
54+
def steps_TC_SC_8_1(self) -> list[TestStep]:
5555
steps = [
5656
TestStep(1, "Commissioning, already done", is_commissioning=True),
5757
TestStep(2, "TH initiates a CASE session establishment with DUT, requesting a session supporting large payloads."),
@@ -75,10 +75,10 @@ async def test_TC_SC_8_1(self):
7575
asserts.assert_equal(device.isSessionOverTCPConnection, True, "Session does not have associated TCP connection")
7676
asserts.assert_equal(device.isActiveSession, True, "Large Payload Session should be active over TCP connection")
7777

78-
def pics_SC_8_2(self):
78+
def pics_TC_SC_8_2(self):
7979
return ['MCORE.SC.TCP']
8080

81-
def steps_SC_8_2(self) -> list[TestStep]:
81+
def steps_TC_SC_8_2(self) -> list[TestStep]:
8282
steps = [
8383
TestStep(1, "Commissioning, already done", is_commissioning=True),
8484
TestStep(2, "TH initiates a CASE session establishment with DUT, requesting a session supporting large payloads."),
@@ -101,10 +101,10 @@ async def test_TC_SC_8_2(self):
101101
self.step(3)
102102
asserts.assert_equal(device.sessionAllowsLargePayload, True, "Session does not have associated TCP connection")
103103

104-
def pics_SC_8_3(self):
104+
def pics_TC_SC_8_3(self):
105105
return ['MCORE.SC.TCP']
106106

107-
def steps_SC_8_3(self) -> list[TestStep]:
107+
def steps_TC_SC_8_3(self) -> list[TestStep]:
108108
steps = [
109109
TestStep(1, "Commissioning, already done", is_commissioning=True),
110110
TestStep(2, "TH initiates a CASE session establishment with DUT, requesting a session supporting large payloads."),
@@ -136,10 +136,10 @@ async def test_TC_SC_8_3(self):
136136
asserts.assert_equal(device.isActiveSession, False,
137137
"Large Payload Session should not be active after TCP connection closure")
138138

139-
def pics_SC_8_4(self):
139+
def pics_TC_SC_8_4(self):
140140
return ['MCORE.SC.TCP']
141141

142-
def steps_SC_8_4(self) -> list[TestStep]:
142+
def steps_TC_SC_8_4(self) -> list[TestStep]:
143143
steps = [
144144
TestStep(1, "Commissioning, already done", is_commissioning=True),
145145
TestStep(2, "TH initiates a CASE session establishment with DUT, requesting a session supporting large payloads."),
@@ -188,10 +188,10 @@ async def test_TC_SC_8_4(self):
188188
self.step(8)
189189
asserts.assert_equal(device.isActiveSession, True, "Large Payload Session should be active over TCP connection")
190190

191-
def pics_SC_8_5(self):
191+
def pics_TC_SC_8_5(self):
192192
return ['MCORE.SC.TCP']
193193

194-
def steps_SC_8_5(self) -> list[TestStep]:
194+
def steps_TC_SC_8_5(self) -> list[TestStep]:
195195
steps = [
196196
TestStep(1, "Commissioning, already done", is_commissioning=True),
197197
TestStep(2, "TH initiates a CASE session establishment with DUT, requesting a session supporting large payloads."),
@@ -227,10 +227,10 @@ async def test_TC_SC_8_5(self):
227227
asserts.fail("Unexpected error returned by DUT")
228228
self.step(6)
229229

230-
def pics_SC_8_6(self):
230+
def pics_TC_SC_8_6(self):
231231
return ['MCORE.SC.TCP']
232232

233-
def steps_SC_8_6(self) -> list[TestStep]:
233+
def steps_TC_SC_8_6(self) -> list[TestStep]:
234234
steps = [
235235
TestStep(1, "Commissioning, already done", is_commissioning=True),
236236
TestStep(2, "TH initiates a CASE session establishment with DUT, requesting a session supporting large payloads."),
@@ -267,10 +267,10 @@ async def test_TC_SC_8_6(self):
267267
asserts.fail("Unexpected error returned by DUT")
268268
self.step(6)
269269

270-
def pics_SC_8_7(self):
270+
def pics_TC_SC_8_7(self):
271271
return ['MCORE.SC.TCP']
272272

273-
def steps_SC_8_7(self) -> list[TestStep]:
273+
def steps_TC_SC_8_7(self) -> list[TestStep]:
274274
steps = [
275275
TestStep(1, "Commissioning, already done", is_commissioning=True),
276276
TestStep(2, "TH initiates a CASE session establishment with DUT, requesting a session supporting large payloads."),

0 commit comments

Comments
 (0)