From c137b29db4d18f574c5ee8d2b2a7e811f0aeb32c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20S=C3=A1nchez-Gallego?= Date: Sat, 1 Jun 2024 12:17:40 -0700 Subject: [PATCH] Better test --- tests/actor/test_command_auto_pilot.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/actor/test_command_auto_pilot.py b/tests/actor/test_command_auto_pilot.py index 23c8221..cd04c08 100644 --- a/tests/actor/test_command_auto_pilot.py +++ b/tests/actor/test_command_auto_pilot.py @@ -14,7 +14,6 @@ import pytest -from hal.exceptions import MacroError from hal.helpers.jaeger import Configuration from hal.macros.auto_pilot import AutoPilotMacro @@ -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")