Skip to content

Commit

Permalink
Remove unneeded active preset setting
Browse files Browse the repository at this point in the history
  • Loading branch information
hasty committed Aug 30, 2024
1 parent adade93 commit 93206a3
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/python_testing/TC_TSTAT_4_2.py
Original file line number Diff line number Diff line change
Expand Up @@ -356,12 +356,6 @@ async def test_TC_TSTAT_4_2(self):
logger.info(
"Couldn't run test step 4 since there were no built-in presets")

notBuiltInPresets = list(preset for preset in current_presets if preset.builtIn is False)
if len(notBuiltInPresets) > 0:
activePreset = notBuiltInPresets[0]

activePresetHandle = await self.read_single_attribute_check_success(endpoint=endpoint, cluster=cluster, attribute=cluster.Attributes.ActivePresetHandle)

self.step("5")
if self.pics_guard(self.check_pics("TSTAT.S.F08") and self.check_pics("TSTAT.S.A0050") and self.check_pics("TSTAT.S.Cfe.Rsp")):

Expand Down

0 comments on commit 93206a3

Please sign in to comment.