Skip to content

Commit

Permalink
TC_DEM_2.6/2.7/2.8 - slight change to call to name args in validate_f…
Browse files Browse the repository at this point in the history
…eature_map() call
  • Loading branch information
jamesharrow committed Aug 28, 2024
1 parent 5349094 commit 65af1b3
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions src/python_testing/TC_DEM_2_6.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,9 +142,9 @@ async def test_TC_DEM_2_6(self):
# Commission DUT - already done

self.step("2")
await self.validate_feature_map([Clusters.DeviceEnergyManagement.Bitmaps.Feature.kForecastAdjustment,
Clusters.DeviceEnergyManagement.Bitmaps.Feature.kStateForecastReporting],
[Clusters.DeviceEnergyManagement.Bitmaps.Feature.kPowerForecastReporting])
await self.validate_feature_map(must_have_features=[Clusters.DeviceEnergyManagement.Bitmaps.Feature.kForecastAdjustment,
Clusters.DeviceEnergyManagement.Bitmaps.Feature.kStateForecastReporting],
must_not_have_features=[Clusters.DeviceEnergyManagement.Bitmaps.Feature.kPowerForecastReporting])

self.step("3")
await self.check_test_event_triggers_enabled()
Expand Down
6 changes: 3 additions & 3 deletions src/python_testing/TC_DEM_2_7.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,9 +150,9 @@ async def test_TC_DEM_2_7(self):
# Commission DUT - already done

self.step("2")
await self.validate_feature_map([Clusters.DeviceEnergyManagement.Bitmaps.Feature.kConstraintBasedAdjustment,
Clusters.DeviceEnergyManagement.Bitmaps.Feature.kPowerForecastReporting],
[Clusters.DeviceEnergyManagement.Bitmaps.Feature.kStateForecastReporting])
await self.validate_feature_map(must_have_features=[Clusters.DeviceEnergyManagement.Bitmaps.Feature.kConstraintBasedAdjustment,
Clusters.DeviceEnergyManagement.Bitmaps.Feature.kPowerForecastReporting],
must_not_have_features=[Clusters.DeviceEnergyManagement.Bitmaps.Feature.kStateForecastReporting])

self.step("3")
await self.check_test_event_triggers_enabled()
Expand Down
6 changes: 3 additions & 3 deletions src/python_testing/TC_DEM_2_8.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,9 +142,9 @@ async def test_TC_DEM_2_8(self):
# Commission DUT - already done

self.step("2")
await self.validate_feature_map([Clusters.DeviceEnergyManagement.Bitmaps.Feature.kConstraintBasedAdjustment,
Clusters.DeviceEnergyManagement.Bitmaps.Feature.kStateForecastReporting],
[Clusters.DeviceEnergyManagement.Bitmaps.Feature.kPowerForecastReporting])
await self.validate_feature_map(must_have_features=[Clusters.DeviceEnergyManagement.Bitmaps.Feature.kConstraintBasedAdjustment,
Clusters.DeviceEnergyManagement.Bitmaps.Feature.kStateForecastReporting],
must_not_have_features=[Clusters.DeviceEnergyManagement.Bitmaps.Feature.kPowerForecastReporting])

self.step("3")
await self.check_test_event_triggers_enabled()
Expand Down

0 comments on commit 65af1b3

Please sign in to comment.