Skip to content
This repository has been archived by the owner on Sep 2, 2024. It is now read-only.

Commit

Permalink
Merge pull request #1314 from DiamondLightSource/fix_test_zebra
Browse files Browse the repository at this point in the history
Fix test zebra fixture
  • Loading branch information
dperl-dls authored Apr 12, 2024
2 parents 58cef6e + 68cb204 commit d164011
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ def zebra():
RunEngine()
zebra = i03.zebra(fake_with_ophyd_sim=True)
mock_arm = MagicMock(
side_effect=zebra.pc.arm.armed.set,
side_effect=zebra.pc.arm.armed._backend._set_value,
return_value=Status(done=True, success=True),
)
with patch.object(zebra.pc.arm.arm_set, "set", mock_arm):
Expand Down

0 comments on commit d164011

Please sign in to comment.