Skip to content

Commit

Permalink
Change test to reflect parser
Browse files Browse the repository at this point in the history
  • Loading branch information
noemifrisina committed Nov 10, 2023
1 parent 284e9ac commit 0586ac1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/I24/serial/setup_beamline/test_setup_detector.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
from dodal.devices.i24.I24_detector_motion import DetectorMotion
from ophyd.status import Status

from mx_bluesky.I24.serial.parameters.constants import SSXType
from mx_bluesky.I24.serial.setup_beamline import Eiger
from mx_bluesky.I24.serial.setup_beamline.setup_detector import (
get_detector_type,
Expand Down Expand Up @@ -49,5 +48,5 @@ def test_setup_detector_stage_for_eiger(fake_caget, fake_detector_motion):
RE = RunEngine()
fake_caget.return_value = "eiger"

RE(setup_detector_stage(fake_detector_motion, SSXType.FIXED.value))
RE(setup_detector_stage(fake_detector_motion, "Serial Fixed"))
assert fake_detector_motion.y.user_readback.get() == Eiger.det_y_target

0 comments on commit 0586ac1

Please sign in to comment.