Skip to content

Commit 0411f43

Browse files
Moving instruction before code in order for it to be more clear to th… (#85) (#86)
* Moving instruction before code in order for it to be more clear to the user that the test will fail * cleanup Co-authored-by: kevin-f-ortega <[email protected]>
1 parent f2bec0c commit 0411f43

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

docs/system-testing.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -109,14 +109,13 @@ In `test_blinking()`, after turning blinking on, add the following the check tha
109109
Run `pytest` and make sure the new assertion passes.
110110

111111
Now, add the similar assertion to verify the BlinkingState is set OFF after stopping blinking
112+
Run `pytest` again. **Notice that this new telemetry check should fail.**
112113

113114
```python
114115
# Assert that blink command sets blinking state off
115116
#TODO: use fprime_test_api.assert_telemetry to check that "LedBlinker.led.BlinkingState" is off
116117
```
117118

118-
Run `pytest` again. **Notice that this new telemetry check should fail.**
119-
120119
Events in fprime are emitted immediately, but telemetry is only emitted periodically. In the LedBlinker deployment, telemetry channels are sent once per second.
121120

122121
The `fprime_test_api.assert_telemetry` check will immediately search for a matching `LedBlinker.led.BlinkingState` telemetry value.

0 commit comments

Comments
 (0)