From fe32400d9889d21a4be8c182bdbab49bdcad39bd Mon Sep 17 00:00:00 2001 From: "Ware, Joseph (DLSLtd,RAL,LSCI)" Date: Fri, 18 Oct 2024 16:52:59 +0100 Subject: [PATCH] Fix test --- tests/devices/unit_tests/util/test_save_panda.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/devices/unit_tests/util/test_save_panda.py b/tests/devices/unit_tests/util/test_save_panda.py index 8f66ac3eb8..27d94d5196 100644 --- a/tests/devices/unit_tests/util/test_save_panda.py +++ b/tests/devices/unit_tests/util/test_save_panda.py @@ -39,7 +39,7 @@ def test_save_panda_failure_to_create_device_exits_with_failure_code(mock_exit): with pytest.raises(AssertionError): _save_panda("i03", "panda", "test/file.yml") - assert mock_exit.assert_called_once_with(1) + mock_exit.assert_called_once_with(1) @patch("dodal.devices.util.save_panda._save_panda")