@@ -25,24 +25,24 @@ def test_01_watchdog_telemetry_basic(fprime_test_api):
2525def 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
3737def 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):
5252def 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