Skip to content

Commit

Permalink
Updating TC_ICDM_2_1 and test_TC_ICDM_2_1 test modules:
Browse files Browse the repository at this point in the history
- Removed additional print statements from TC_ICDM_2_1 due to no longer needed
- Added AttributeList to list of attrs in test_TC_ICDM_2_1 to see if we can get the CI/CD to pass.
  • Loading branch information
j-ororke committed Aug 14, 2024
1 parent 6202610 commit 75df8c7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
7 changes: 2 additions & 5 deletions src/python_testing/TC_ICDM_2_1.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
# test-runner-runs: run1
# test-runner-run/run1/app: ${LIT_ICD_APP}
# test-runner-run/run1/factoryreset: True
# test-runner-run/run1/quiet: False
# test-runner-run/run1/quiet: True
# test-runner-run/run1/app-args: --discriminator 1234 --KVS kvs1 --trace-to json:${TRACE_APP}.json
# test-runner-run/run1/script-args: --storage-path admin_storage.json --commissioning-method on-network --discriminator 1234 --passcode 20202021 --PICS src/app/tests/suites/certification/ci-pics-values --trace-to json:${TRACE_TEST_JSON}.json --trace-to perfetto:${TRACE_TEST_PERFETTO}.perfetto
# === END CI TEST ARGUMENTS ===
Expand Down Expand Up @@ -130,11 +130,8 @@ async def test_TC_ICDM_2_1(self):
cluster = Clusters.Objects.IcdManagement
attributes = cluster.Attributes

self.print_step("Attributes cluster", cluster.Attributes.AttributeList.__dict__)

attribute_list = await self._read_icdm_attribute_expect_success(attribute=attributes.AttributeList)
self.print_step("attribute list", attribute_list)


# Commissioning
self.step(1)
# Read feature map
Expand Down
2 changes: 1 addition & 1 deletion src/python_testing/test_testing/test_TC_ICDM_2_1.py
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ def test_spec_to_attribute_cache(test_icdm: ICDMData) -> Attribute.AsyncReadTran
resp.attributes = {0: {c: {attr.FeatureMap: test_icdm.FeatureMap, attr.IdleModeDuration: test_icdm.IdleModeDuration, attr.ActiveModeDuration: test_icdm.ActiveModeDuration, attr.ActiveModeThreshold: test_icdm.ActiveModeThreshold,
attr.RegisteredClients: test_icdm.RegisteredClients, attr.ICDCounter: test_icdm.ICDCounter,
attr.ClientsSupportedPerFabric: test_icdm.ClientsSupportedPerFabric, attr.UserActiveModeTriggerHint: test_icdm.UserActiveModeTriggerHint,
attr.UserActiveModeTriggerInstruction: test_icdm.UserActiveModeTriggerInstruction, attr.OperatingMode: test_icdm.OperatingMode, attr.MaximumCheckInBackOff: test_icdm.MaximumCheckInBackOff}}}
attr.UserActiveModeTriggerInstruction: test_icdm.UserActiveModeTriggerInstruction, attr.OperatingMode: test_icdm.OperatingMode, attr.MaximumCheckInBackOff: test_icdm.MaximumCheckInBackOff, attr.AttributeList: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 65528, 65529, 65531, 65532, 65533]}}}
return resp


Expand Down

0 comments on commit 75df8c7

Please sign in to comment.