(connpath)
| 25 | # This test runs second. Add as many tests as you like |
| 26 | @with_sitl |
| 27 | def test_mode(connpath): |
| 28 | v = connect(connpath, wait_ready=True) |
| 29 | |
| 30 | # Ensure Mode is an instance of VehicleMode |
| 31 | assert isinstance(v.mode, VehicleMode) |
| 32 | |
| 33 | v.close() |