Skip to content
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

[Fix] Possible fix for matter-test-scripts issue #227: Remove PICS from OPSTATE tests #34290

Open
wants to merge 34 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
f106cea
Possible fix for matter-test-scripts issue #227:
j-ororke Jul 10, 2024
d10612e
Restyled by autopep8
restyled-commits Jul 10, 2024
832661a
Updated TC_OpstateCommon.py:
j-ororke Jul 10, 2024
80aa98b
Updated TC_RVCOPSTATE_2_1 test module:
j-ororke Jul 10, 2024
9058317
Restyled by autopep8
restyled-commits Jul 10, 2024
53f6afb
Restyled by isort
restyled-commits Jul 10, 2024
e30aefa
Updated TC_RVCOPSTATE_2_1 test module:
j-ororke Jul 11, 2024
084a115
Updated TC_RVCOPSTATE_2_1 test module:
j-ororke Jul 11, 2024
3c2ba60
Resolving Linting issue in TC_RVCOPSTATE_2_1:
j-ororke Jul 11, 2024
ec31380
Updating TC_RVCOPSTATE_2_1 test module:
j-ororke Jul 11, 2024
d734497
Updated TC_RVCOPSTATE_2_1 test module:
j-ororke Jul 15, 2024
0e7e99a
Updated TC_RVCOPSTATE_2_1 test module:
j-ororke Jul 15, 2024
4f474ec
Restyled by autopep8
restyled-commits Jul 15, 2024
708cb59
Updated TC_OpstateCommon and TC_RVCOPSTATE_2_1:
j-ororke Jul 16, 2024
16afba8
Restyled by autopep8
restyled-commits Jul 16, 2024
830198f
Updated TC_OpstateCommon module:
j-ororke Jul 16, 2024
273f8d3
Merge branch 'master' into remove_PICS_from_OPSTATE_tests
j-ororke Jul 18, 2024
f6f8b18
Updated TC_OpstateCommon and TC_RVCOPSTATE_2_1:
j-ororke Jul 19, 2024
8204e89
Restyled by autopep8
restyled-commits Jul 19, 2024
06d3727
Merge branch 'master' into remove_PICS_from_OPSTATE_tests
j-ororke Sep 23, 2024
e9e5e43
Merge branch 'master' into remove_PICS_from_OPSTATE_tests
j-ororke Sep 23, 2024
14d57ad
Updated matter_testing_support, OpstateCommon, and RVCOPSTATE_2_1 mod…
j-ororke Sep 23, 2024
7a72247
Restyled by autopep8
restyled-commits Sep 23, 2024
1f8af58
Restyled by isort
restyled-commits Sep 23, 2024
a441b26
Merge branch 'master' into remove_PICS_from_OPSTATE_tests
j-ororke Sep 27, 2024
6b61a00
Updated TC_OpstateCommon.py:
j-ororke Sep 27, 2024
fd714b8
Merge branch 'master' into remove_PICS_from_OPSTATE_tests
j-ororke Sep 30, 2024
f090844
Updating method for attributes_guard functionality
j-ororke Sep 30, 2024
78f6e4e
Updated TC_RVCOPSTATE_2_1 test module:
j-ororke Sep 30, 2024
b972df9
Updating TC_RVCOPSTATE_2_1 test module:
j-ororke Oct 1, 2024
354f40a
Merge branch 'master' of github.com:project-chip/connectedhomeip into…
j-ororke Oct 22, 2024
c0adcba
Updated TC_OpstateCommon, TC_RVCOPSTATE_2_1, and matter_testing support:
j-ororke Oct 23, 2024
9aa1d04
Restyled by autopep8
restyled-commits Oct 23, 2024
bb54582
Updated TC_RVCOPSTATE_2_1 test module:
j-ororke Oct 23, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Updated TC_OpstateCommon.py:
- Removed some variables that were no longer needed
  • Loading branch information
j-ororke committed Jul 10, 2024
commit 832661af01bb548e29b85e6034b3952a97ffcb4e
7 changes: 0 additions & 7 deletions src/python_testing/TC_OpstateCommon.py
Original file line number Diff line number Diff line change
Expand Up @@ -219,19 +219,15 @@ async def TEST_TC_OPSTATE_BASE_1_1(self, endpoint=1, cluster_revision=1, feature
OPSTATE_attr_list = attributes.AttributeList
cecille marked this conversation as resolved.
Show resolved Hide resolved
attribute_list = await self.read_single_attribute_check_success(endpoint=endpoint, cluster=cluster, attribute=OPSTATE_attr_list)
countdown_time_attr_id = attributes.CountdownTime.attribute_id
oprtnlstate_attr_id = attributes.OperationalState.attribute_id

# Gathering Available Commands and associated ids
commands = cluster.Commands
OPSTATE_accptcmd_list = attributes.AcceptedCommandList
OPSTATE_gencmd_list = attributes.GeneratedCommandList
accepted_cmd_list = await self.read_single_attribute_check_success(endpoint=endpoint, cluster=cluster, attribute=OPSTATE_accptcmd_list)
generated_cmd_list = await self.read_single_attribute_check_success(endpoint=endpoint, cluster=cluster, attribute=OPSTATE_gencmd_list)
pause_cmd_id = commands.Pause.command_id
start_cmd_id = commands.Start.command_id
stop_cmd_id = commands.Stop.command_id
resume_cmd_id = commands.Resume.command_id
ocr_cmd_id = commands.OperationalCommandResponse.command_id

# Gathers Event id for OperationCompletion event, if available then returns true
events = cluster.Events
Expand Down Expand Up @@ -616,10 +612,8 @@ async def TEST_TC_OPSTATE_BASE_2_2(self, endpoint=1):
OPSTATE_gencmd_list = attributes.GeneratedCommandList
accepted_cmd_list = await self.read_single_attribute_check_success(endpoint=endpoint, cluster=cluster, attribute=OPSTATE_accptcmd_list)
generated_cmd_list = await self.read_single_attribute_check_success(endpoint=endpoint, cluster=cluster, attribute=OPSTATE_gencmd_list)
pause_cmd_id = commands.Pause.command_id # 0
start_cmd_id = commands.Start.command_id # 2
stop_cmd_id = commands.Stop.command_id # 1
resume_cmd_id = commands.Resume.command_id # 3
ocr_cmd_id = commands.OperationalCommandResponse.command_id # 4

self.init_test()
Expand Down Expand Up @@ -810,7 +804,6 @@ async def TEST_TC_OPSTATE_BASE_2_3(self, endpoint=1):
OPSTATE_attr_list = attributes.AttributeList
attribute_list = await self.read_single_attribute_check_success(endpoint=endpoint, cluster=cluster, attribute=OPSTATE_attr_list)
countdown_time_attr_id = attributes.CountdownTime.attribute_id
oprtnlstate_list_attr_id = attributes.OperationalStateList.attribute_id
oprtnlstate_attr_id = attributes.OperationalState.attribute_id

# Gathering Available Commands and associated ids
Expand Down
Loading