Skip to content

Commit c9f6880

Browse files
committed
formatting
1 parent 22bf3b7 commit c9f6880

File tree

3 files changed

+10
-11
lines changed

3 files changed

+10
-11
lines changed

FprimeZephyrReference/Components/Watchdog/docs/sdd.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,4 +52,3 @@ WatchdogStop | Emits once the watchdog petting has stopped. .
5252
Name | Type | Description
5353
---- | ---- | -----
5454
WatchdogTransitions | U32 | Number of times the GPIO has oscillated from on/off during watchdog petting
55-

FprimeZephyrReference/test/int/integration_test.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -25,24 +25,24 @@ def test_01_watchdog_telemetry_basic(fprime_test_api):
2525
def test_02_watchdog_increments(fprime_test_api):
2626
"""Test that WatchdogTransitions increments over time"""
2727
import time
28-
28+
2929
initial_value = get_watchdog_transitions(fprime_test_api)
3030
time.sleep(2.0) # Wait for watchdog to run more cycles
3131
updated_value = get_watchdog_transitions(fprime_test_api)
32-
32+
3333
assert updated_value > initial_value, \
3434
f"WatchdogTransitions should increase. Initial: {initial_value}, Updated: {updated_value}"
3535

3636

3737
def test_03_stop_watchdog_command(fprime_test_api):
3838
"""Test TEST_STOP_WATCHDOG command sends and emits WatchdogStop event"""
3939
fprime_test_api.clear_histories()
40-
40+
4141
fprime_test_api.send_and_assert_command(
42-
"ReferenceDeployment.watchdog.TEST_STOP_WATCHDOG",
42+
"ReferenceDeployment.watchdog.TEST_STOP_WATCHDOG",
4343
max_delay=2
4444
)
45-
45+
4646
fprime_test_api.assert_event(
4747
"ReferenceDeployment.watchdog.WatchdogStop",
4848
timeout=2
@@ -52,13 +52,13 @@ def test_03_stop_watchdog_command(fprime_test_api):
5252
def test_04_watchdog_stops_incrementing(fprime_test_api):
5353
"""Test that WatchdogTransitions stops incrementing after TEST_STOP_WATCHDOG"""
5454
import time
55-
55+
5656
# Get initial value (should be from stopped watchdog from previous test)
5757
initial_value = get_watchdog_transitions(fprime_test_api)
58-
58+
5959
# Wait and check that it's not incrementing (watchdog should already be stopped)
6060
time.sleep(2.0)
6161
final_value = get_watchdog_transitions(fprime_test_api)
62-
62+
6363
assert final_value == initial_value, \
64-
f"Watchdog should remain stopped. Initial: {initial_value}, Final: {final_value}"
64+
f"Watchdog should remain stopped. Initial: {initial_value}, Final: {final_value}"

0 commit comments

Comments
 (0)