From ac417fb63945df8d4ec6d94f255dc4d85db92560 Mon Sep 17 00:00:00 2001 From: Robert Tuck Date: Fri, 29 Nov 2024 14:59:28 +0000 Subject: [PATCH] Fix broken system test --- tests/system_tests/conftest.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/system_tests/conftest.py b/tests/system_tests/conftest.py index 8f6463046..7d104aed0 100644 --- a/tests/system_tests/conftest.py +++ b/tests/system_tests/conftest.py @@ -154,6 +154,9 @@ def oav_for_system_test(test_config_files): ): mock_get.return_value.__aenter__.return_value = empty_response set_mock_value(oav.zoom_controller.level, "1.0") + oav.zoom_controller._get_allowed_zoom_levels = AsyncMock( + return_value=["1.0x", "2.5x", "5.0x", "7.5x", "10.0x", "15.0x"] + ) yield oav