Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 260a17b

Browse files
committedAug 2, 2024·
Merge branch 'master' into imdm/datamodel-writes
2 parents 826ba92 + 1e9082f commit 260a17b

File tree

2 files changed

+23
-7
lines changed

2 files changed

+23
-7
lines changed
 

‎.github/labeler.yml

+9
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,15 @@ test driver:
119119
- src/test_driver/*
120120
- src/test_driver/**/*
121121

122+
# Cert tests touched: add current milestone delta-tracking label.
123+
# TODO: Change after Aug 15, 2024
124+
matter-1.4-te2-script-change:
125+
- changed-files:
126+
- any-glob-to-any-file:
127+
- src/python_testing/*
128+
- src/python_testing/**/*
129+
- src/app/tests/suites/certification/*
130+
122131
############################################################
123132
# Source Code
124133
############################################################

‎src/python_testing/TCP_Tests.py

+14-7
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,9 @@
3232

3333
class TCP_Tests(MatterBaseTest):
3434

35+
# TCP Connection Establishment
3536
@async_test_body
36-
async def test_TCPConnectionEstablishment(self):
37+
async def test_TC_SC_8_1(self):
3738

3839
try:
3940
device = await self.default_controller.GetConnectedDevice(nodeid=self.dut_node_id, allowPASE=False, timeoutMs=1000,
@@ -43,8 +44,9 @@ async def test_TCPConnectionEstablishment(self):
4344
asserts.assert_equal(device.isSessionOverTCPConnection, True, "Session does not have associated TCP connection")
4445
asserts.assert_equal(device.isActiveSession, True, "Large Payload Session should be active over TCP connection")
4546

47+
# Large Payload Session Establishment
4648
@async_test_body
47-
async def test_LargePayloadSessionEstablishment(self):
49+
async def test_TC_SC_8_2(self):
4850

4951
try:
5052
device = await self.default_controller.GetConnectedDevice(nodeid=self.dut_node_id, allowPASE=False, timeoutMs=1000,
@@ -53,8 +55,9 @@ async def test_LargePayloadSessionEstablishment(self):
5355
asserts.fail("Unable to establish a CASE session over TCP to the device")
5456
asserts.assert_equal(device.sessionAllowsLargePayload, True, "Session does not have associated TCP connection")
5557

58+
# Session Inactive After TCP Disconnect
5659
@async_test_body
57-
async def test_SessionInactiveAfterTCPDisconnect(self):
60+
async def test_TC_SC_8_3(self):
5861

5962
try:
6063
device = await self.default_controller.GetConnectedDevice(nodeid=self.dut_node_id, allowPASE=False, timeoutMs=1000,
@@ -67,8 +70,9 @@ async def test_SessionInactiveAfterTCPDisconnect(self):
6770
asserts.assert_equal(device.isActiveSession, False,
6871
"Large Payload Session should not be active after TCP connection closure")
6972

73+
# TCP Connect, Disconnect, Then Connect Again
7074
@async_test_body
71-
async def test_TCPConnectDisconnectThenConnectAgain(self):
75+
async def test_TC_SC_8_4(self):
7276

7377
try:
7478
device = await self.default_controller.GetConnectedDevice(nodeid=self.dut_node_id, allowPASE=False, timeoutMs=1000,
@@ -90,8 +94,9 @@ async def test_TCPConnectDisconnectThenConnectAgain(self):
9094
asserts.assert_equal(device.isSessionOverTCPConnection, True, "Session does not have associated TCP connection")
9195
asserts.assert_equal(device.isActiveSession, True, "Large Payload Session should be active over TCP connection")
9296

97+
# OnOff Cluster Toggle Command Over TCP Session
9398
@async_test_body
94-
async def test_OnOffToggleCommandOverTCPSession(self):
99+
async def test_TC_SC_8_5(self):
95100

96101
try:
97102
device = await self.default_controller.GetConnectedDevice(nodeid=self.dut_node_id, allowPASE=False, timeoutMs=1000,
@@ -109,8 +114,9 @@ async def test_OnOffToggleCommandOverTCPSession(self):
109114
except InteractionModelError:
110115
asserts.fail("Unexpected error returned by DUT")
111116

117+
# WildCard Read Over TCP Session
112118
@async_test_body
113-
async def test_WildCardReadOverTCPSession(self):
119+
async def test_TC_SC_8_6(self):
114120

115121
try:
116122
device = await self.default_controller.GetConnectedDevice(nodeid=self.dut_node_id, allowPASE=False, timeoutMs=1000,
@@ -126,8 +132,9 @@ async def test_WildCardReadOverTCPSession(self):
126132
except InteractionModelError:
127133
asserts.fail("Unexpected error returned by DUT")
128134

135+
# Use TCP Session If Available For MRP Interaction
129136
@async_test_body
130-
async def test_UseTCPSessionIfAvailableForMRPInteraction(self):
137+
async def test_TC_SC_8_7(self):
131138

132139
try:
133140
device = await self.default_controller.GetConnectedDevice(nodeid=self.dut_node_id, allowPASE=False, timeoutMs=1000,

0 commit comments

Comments
 (0)
Please sign in to comment.