Skip to content

Commit

Permalink
Updated airspeed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
e100 committed Jun 20, 2024
1 parent 840f02e commit c7ce18b
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion tests/instruments/airspeed/test_airspeed.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,13 @@ def test_numerical_airspeed_box(fix, qtbot):
assert widget.valueText == "140"
widget.setMode("")
assert widget._modeIndicator == 0

widget.setMode("")
assert widget._modeIndicator == 1
widget.setMode("")
assert widget._modeIndicator == 2
widget.setMode("")
assert widget._modeIndicator == 0
widget.setMode(0)
fix.db.get_item("TAS").fail = True
fix.db.set_value("TAS", 101)
assert widget.valueText == "XXX"
Expand Down

0 comments on commit c7ce18b

Please sign in to comment.