Skip to content

Commit

Permalink
Get featureSet option correct
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterC1965 committed Aug 22, 2024
1 parent 951bab6 commit b9a7143
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/python_testing/TC_DEM_1_1.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# test-runner-run/run1/app: ${ENERGY_MANAGEMENT_APP}
# test-runner-run/run1/factoryreset: True
# test-runner-run/run1/quiet: True
# test-runner-run/run1/app-args: --discriminator 1234 --KVS kvs1 --trace-to json:${TRACE_APP}.json --enable-key 000102030405060708090a0b0c0d0e0f --featureSet 0x7f
# test-runner-run/run1/app-args: --discriminator 1234 --KVS kvs1 --trace-to json:${TRACE_APP}.json --enable-key 000102030405060708090a0b0c0d0e0f --featureSet 0x7b
# test-runner-run/run1/script-args: --storage-path admin_storage.json --commissioning-method on-network --discriminator 1234 --passcode 20202021 --hex-arg enableKey:000102030405060708090a0b0c0d0e0f --endpoint 1 --trace-to json:${TRACE_TEST_JSON}.json --trace-to perfetto:${TRACE_TEST_PERFETTO}.perfetto
# === END CI TEST ARGUMENTS ===

Expand Down Expand Up @@ -90,11 +90,10 @@ async def test_TC_DEM_1_1(self):
await self.validate_feature_map([Clusters.DeviceEnergyManagement.Bitmaps.Feature.kForecastAdjustment,
Clusters.DeviceEnergyManagement.Bitmaps.Feature.kPowerForecastReporting,
Clusters.DeviceEnergyManagement.Bitmaps.Feature.kPowerAdjustment,
Clusters.DeviceEnergyManagement.Bitmaps.Feature.kStateForecastReporting,
Clusters.DeviceEnergyManagement.Bitmaps.Feature.kStartTimeAdjustment,
Clusters.DeviceEnergyManagement.Bitmaps.Feature.kPausable,
Clusters.DeviceEnergyManagement.Bitmaps.Feature.kConstraintBasedAdjustment],
[])
[Clusters.DeviceEnergyManagement.Bitmaps.Feature.kStateForecastReporting])

self.step("4")
attribute_list = await self.read_dem_attribute_expect_success(attribute="AttributeList")
Expand Down

0 comments on commit b9a7143

Please sign in to comment.