Skip to content

Commit

Permalink
Restyle
Browse files Browse the repository at this point in the history
  • Loading branch information
ReneJosefsen committed Jan 15, 2024
1 parent 0f0ec56 commit 3bef58b
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions src/python_testing/TC_BOOLCFG_4_2.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,25 +128,29 @@ async def test_TC_BOOLCFG_4_2(self):

self.step("6a")
if is_vis_feature_supported:
asserts.assert_not_equal((activeAlarms & Clusters.BooleanStateConfiguration.Bitmaps.AlarmModeBitmap.kVisual), 0, "Bit 0 in AlarmsActive is not 1")
asserts.assert_not_equal(
(activeAlarms & Clusters.BooleanStateConfiguration.Bitmaps.AlarmModeBitmap.kVisual), 0, "Bit 0 in AlarmsActive is not 1")
else:
logging.info("Test step skipped")

self.step("6b")
if not is_vis_feature_supported:
asserts.assert_equal((activeAlarms & Clusters.BooleanStateConfiguration.Bitmaps.AlarmModeBitmap.kVisual), 0, "Bit 0 in AlarmsActive is not 0")
asserts.assert_equal((activeAlarms & Clusters.BooleanStateConfiguration.Bitmaps.AlarmModeBitmap.kVisual),
0, "Bit 0 in AlarmsActive is not 0")
else:
logging.info("Test step skipped")

self.step("7a")
if is_aud_feature_supported:
asserts.assert_not_equal((activeAlarms & Clusters.BooleanStateConfiguration.Bitmaps.AlarmModeBitmap.kAudible), 0, "Bit 1 in AlarmsActive is not 1")
asserts.assert_not_equal(
(activeAlarms & Clusters.BooleanStateConfiguration.Bitmaps.AlarmModeBitmap.kAudible), 0, "Bit 1 in AlarmsActive is not 1")
else:
logging.info("Test step skipped")

self.step("7b")
if not is_aud_feature_supported:
asserts.assert_equal((activeAlarms & Clusters.BooleanStateConfiguration.Bitmaps.AlarmModeBitmap.kAudible), 0, "Bit 1 in AlarmsActive is not 0")
asserts.assert_equal((activeAlarms & Clusters.BooleanStateConfiguration.Bitmaps.AlarmModeBitmap.kAudible),
0, "Bit 1 in AlarmsActive is not 0")
else:
logging.info("Test step skipped")

Expand Down

0 comments on commit 3bef58b

Please sign in to comment.