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

Function assert_commands

dronekit/test/sitl/test_waypoints.py:129–132  ·  view source on GitHub ↗
(count)

Source from the content-addressed store, hash-verified

127 vehicle = connect(connpath, wait_ready=True)
128
129 def assert_commands(count):
130 vehicle.commands.download()
131 vehicle.commands.wait_ready()
132 assert_equals(len(vehicle.commands), count)
133
134 assert_commands(0)
135

Callers 1

test_227Function · 0.85

Calls 2

downloadMethod · 0.80
wait_readyMethod · 0.45

Tested by

no test coverage detected