Skip to content

Commit

Permalink
Adds more description comments
Browse files Browse the repository at this point in the history
  • Loading branch information
raul-marquez-csa committed Jan 19, 2024
1 parent 1686361 commit 1268088
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions src/python_testing/TC_SC_4_10.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,15 @@
Category:
Functional conformance
Purpose:
Description:
The purpose of this test case is to verify that a Short Idle Time ICD node properly advertises SAI/SII
values. This verification is in addition any other operational/commissionable discovery test cases.
values.
Test Plan:
Verifies:
- SII key is higher than the SESSION_IDLE_INTERVAL default value (500 milliseconds)
- SII key and SAI key is less than 1 hour (3600000 milliseconds)
Full test plan link for details:
https://github.com/CHIP-Specifications/chip-test-plans/blob/master/src/securechannel.adoc#tc-sc-4-10-operational-discovery-sit-icd-node-dut_commissionee
'''

Expand All @@ -42,10 +46,13 @@ class TC_SC_4_10(MatterBaseTest):
@async_test_body
async def test_TC_SC_4_10(self):

########## Step 1 ##########
self.print_step(1, "DUT is instructed to advertise its service: already done")

########## Step 2 ##########
self.print_step(2, "TH scans for DNS-SD advertising, looks for SAI/SII values")

# Get SAI/SII values
mh = MdnsHelper(self)
SAI_MS = int(await mh.getTxtRecord(key="SAI"))
SII_MS = int(await mh.getTxtRecord(key="SII"))
Expand Down

0 comments on commit 1268088

Please sign in to comment.