-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for configuring terms and conditions in device commissioning #173
base: v2.12
Are you sure you want to change the base?
Conversation
This commit introduces a new `enhanced_setup_flow` configuration property to the test harness backend, allowing device manufacturers to define the terms and conditions (T&C) that must be acknowledged and set during device commissioning. These values are critical for supporting the Terms and Conditions Certification Test Suite. Key changes include: - Added the `EnhancedSetupFlowConfig` class to `DutConfig`, which allows specifying the T&C version and user response required during commissioning. - Updated `generate_command_arguments` in `utils.py` to append the necessary arguments for T&C validation and the device's commissioning method. - Adjusted model validation to ensure the `enhanced_setup_flow` field is processed correctly within `DutConfig`. These changes ensure the test harness can enforce manufacturer-specific T&C values during the commissioning process, aligning with the broader requirements of T&C validation.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please check some comments in the PR
test_collections/matter/sdk_tests/support/performance_tests/utils.py
Outdated
Show resolved
Hide resolved
test_collections/matter/sdk_tests/support/python_testing/__init__.py
Outdated
Show resolved
Hide resolved
test_collections/matter/sdk_tests/support/python_testing/models/utils.py
Outdated
Show resolved
Hide resolved
test_collections/matter/sdk_tests/support/python_testing/models/utils.py
Outdated
Show resolved
Hide resolved
Hi @swan-amazon I changed the target from |
Co-authored-by: Romulo Quidute Filho <[email protected]>
Hey @rquidute , I'm not sure why those spell checks weren't failing previously. I didn't add the words that it's flagging on now... I was asking Raju but he didn't know. I asked if something was recently enabled and he doesn't think so. What should we do? |
Co-authored-by: Romulo Quidute Filho <[email protected]>
…ils.py Co-authored-by: Romulo Quidute Filho <[email protected]>
…s/utils.py Co-authored-by: Romulo Quidute Filho <[email protected]>
…s/utils.py Co-authored-by: Romulo Quidute Filho <[email protected]>
…t__.py Co-authored-by: Romulo Quidute Filho <[email protected]>
This commit introduces a new
enhanced_setup_flow
configuration property to the test harness backend, allowing device manufacturers to define the terms and conditions (T&C) that must be acknowledged and set during device commissioning. These values are critical for supporting the Terms and Conditions Certification Test Suite.Key changes include:
EnhancedSetupFlowConfig
class toDutConfig
, which allows specifying the T&C version and user response required during commissioning.generate_command_arguments
inutils.py
to append the necessary arguments for T&C validation and the device's commissioning method.enhanced_setup_flow
field is processed correctly withinDutConfig
.These changes ensure the test harness can enforce manufacturer-specific T&C values during the commissioning process, aligning with the broader requirements of T&C validation.