Skip to content

Commit

Permalink
Update docstrings in test.py #16
Browse files Browse the repository at this point in the history
  • Loading branch information
RexBerry committed Feb 17, 2023
1 parent ba90ab4 commit 2632304
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions flight/avoidance/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,13 @@ async def avoiding_drone_test(
) -> None:
"""
Runs test code for the drone trying to avoid the other drone
Parameters
----------
drone : mavsdk.System
The drone this test will control
position_updates : AsyncIterator[list[InputPoint]]
Position updates for the drone this drone should avoid
"""

asyncio.ensure_future(print_status_text(drone))
Expand All @@ -112,6 +119,11 @@ async def avoiding_drone_test(
async def drone_to_avoid_test(drone: mavsdk.System) -> None:
"""
Runs test code for the drone which the other drone should avoid
Parameters
----------
drone : mavsdk.System
The drone this test will control
"""

asyncio.ensure_future(print_status_text(drone))
Expand Down

0 comments on commit 2632304

Please sign in to comment.