Skip to content

Commit

Permalink
TC_RVCCLEANM_2_2.py and TC_RVCRUNM_2_2.py are now using bitmap values…
Browse files Browse the repository at this point in the history
… defined in sdk intead of 0x8000 (#35317)
  • Loading branch information
Harshith-GRL authored Aug 30, 2024
1 parent 9946fc8 commit 1912865
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 1 addition & 3 deletions src/python_testing/TC_RVCCLEANM_2_2.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,7 @@ def pics_TC_RVCCLEANM_2_2(self) -> list[str]:

@async_test_body
async def test_TC_RVCCLEANM_2_2(self):
# TODO Replace 0x8000 with python object of RVCCLEAN FEATURE bit map when implemented
# 0x8000 corresponds to 16 bit DIRECTMODECH Feature map
self.directmodech_bit_mask = 0x8000
self.directmodech_bit_mask = Clusters.RvcCleanMode.Bitmaps.Feature.kDirectModeChange
self.endpoint = self.matter_test_config.endpoint
self.is_ci = self.check_pics("PICS_SDK_CI_ONLY")
if self.is_ci:
Expand Down
4 changes: 1 addition & 3 deletions src/python_testing/TC_RVCRUNM_2_2.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,9 +122,7 @@ async def test_TC_RVCRUNM_2_2(self):
"PIXIT.RVCRUNM.MODE_A:<mode id> \n"
"PIXIT.RVCRUNM.MODE_B:<mode id>")

# TODO Replace 0x8000 with python object of RVCRUN FEATURE bit when implemented
# 0x8000 corresponds to 16 bit DIRECTMODECH Feature map
self.directmodech_bit_mask = 0x8000
self.directmodech_bit_mask = Clusters.RvcRunMode.Bitmaps.Feature.kDirectModeChange
self.endpoint = self.matter_test_config.endpoint
self.is_ci = self.check_pics("PICS_SDK_CI_ONLY")
self.mode_a = self.matter_test_config.global_test_params['PIXIT.RVCRUNM.MODE_A']
Expand Down

0 comments on commit 1912865

Please sign in to comment.