MCPcopy
hub / github.com/dronekit/dronekit-python / test_modes_set

Function test_modes_set

dronekit/test/sitl/test_mode_settings.py:9–15  ·  view source on GitHub ↗
(connpath)

Source from the content-addressed store, hash-verified

7
8@with_sitl
9def test_modes_set(connpath):
10 vehicle = connect(connpath)
11
12 def listener(self, name, m):
13 assert_equals('STABILIZE', self._flightmode)
14
15 vehicle.add_message_listener('HEARTBEAT', listener)

Callers

nothing calls this directly

Calls 2

connectFunction · 0.90
add_message_listenerMethod · 0.80

Tested by

no test coverage detected