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

Function test_parameter

dronekit/test/sitl/test_simpledemo.py:16–22  ·  view source on GitHub ↗
(connpath)

Source from the content-addressed store, hash-verified

14# This test runs first!
15@with_sitl
16def test_parameter(connpath):
17 v = connect(connpath, wait_ready=True)
18
19 # Perform a simple parameter check
20 assert_equals(type(v.parameters['THR_MIN']), float)
21
22 v.close()
23
24
25# This test runs second. Add as many tests as you like

Callers

nothing calls this directly

Calls 2

connectFunction · 0.90
closeMethod · 0.45

Tested by

no test coverage detected