Skip to content

Commit

Permalink
Better test
Browse files Browse the repository at this point in the history
  • Loading branch information
albireox committed Jun 1, 2024
1 parent 2f29977 commit c137b29
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/actor/test_command_auto_pilot.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@

import pytest

from hal.exceptions import MacroError
from hal.helpers.jaeger import Configuration
from hal.macros.auto_pilot import AutoPilotMacro

Expand Down Expand Up @@ -214,7 +213,7 @@ async def test_command_auto_pilot_goto_running_fails(
wait_until_complete_mock = mocker.patch.object(
goto,
"wait_until_complete",
side_effect=MacroError("goto_field failed"),
False,
)

cmd = actor.invoke_mock_command("auto-pilot")
Expand Down

0 comments on commit c137b29

Please sign in to comment.