Skip to content

Commit

Permalink
Add follow-up issue
Browse files Browse the repository at this point in the history
  • Loading branch information
tcarmelveilleux committed Jul 31, 2024
1 parent 32342d2 commit cc7055d
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/python_testing/TC_SWTCH.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ def desc_TC_SWTCH_2_4(self) -> str:
"""Returns a description of this test"""
return "[TC-SWTCH-2.4] Momentary Switch Long Press Verification"

# TODO(#34656): Fill test steps
# def steps_TC_SWTCH_2_4(self) -> list[TestStep]:
# steps = [
# TestStep("0", "Commissioning, already done", is_commissioning=True),
Expand Down Expand Up @@ -164,7 +165,7 @@ def _ask_for_release(self):
time.sleep(self.keep_pressed_delay/1000)

def _placeholder_for_step(self, step_id: str):
# TODO: Global search an replace of `self._placeholder_for_step` with `self.step` when done.
# TODO(#34656): Global search an replace of `self._placeholder_for_step` with `self.step` when done.
logging.info(f"Step {step_id}")
pass

Expand Down Expand Up @@ -270,7 +271,7 @@ def _expect_no_events_for_cluster(self, event_queue: queue.Queue, endpoint_id: i

@per_endpoint_test(has_feature(Clusters.Switch, Clusters.Switch.Bitmaps.Feature.kMomentarySwitch))
async def test_TC_SWTCH_2_4(self):
# TODO: Make this come from PIXIT
# TODO(#34656): Make this come from PIXIT
switch_pressed_position = 1
post_prompt_settle_delay_seconds = 10.0

Expand Down Expand Up @@ -429,7 +430,7 @@ async def test_TC_SWTCH_2_2(self):
asserts.assert_equal(button_val, expected_switch_position, f"Switch position is not {expected_switch_position}")

# Step 7: If there are more than 2 positions, test subsequent positions of the DUT
# TODO: Implement loop for > 2 total positions
# # TODO(#34656): Implement loop for > 2 total positions
self.skip_step(7)

# Step 8: Operator sets switch to first position on the DUT.
Expand Down

0 comments on commit cc7055d

Please sign in to comment.