Skip to content

Commit bbf3b6b

Browse files
committed
fix test patch location
1 parent 4b4bf94 commit bbf3b6b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/devices/unit_tests/test_oav.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ def test_snapshot_trigger_loads_correct_url(
5151

5252

5353
@patch("requests.get")
54-
@patch("dodal.devices.oav.snapshot.Image.open")
54+
@patch("dodal.devices.areadetector.plugins.MJPG.Image.open")
5555
def test_snapshot_trigger_saves_to_correct_file(
5656
mock_open: MagicMock, mock_get, fake_oav
5757
):
@@ -70,7 +70,7 @@ def test_snapshot_trigger_saves_to_correct_file(
7070

7171

7272
@patch("requests.get")
73-
@patch("dodal.devices.oav.snapshot.Image.open")
73+
@patch("dodal.devices.areadetector.plugins.MJPG.Image.open")
7474
@patch("dodal.devices.oav.grid_overlay.add_grid_overlay_to_image")
7575
@patch("dodal.devices.oav.grid_overlay.add_grid_border_overlay_to_image")
7676
def test_correct_grid_drawn_on_image(

0 commit comments

Comments
 (0)