def test_no_rewind_device(): class FakeSig: def get(self): return False det = SynGauss('det', motor, 'motor', center=0, Imax=1, sigma=1) det.rewindable = FakeSig() assert not all_safe_rewind([det])
def test_no_rewind_device(): class FakeSig: def get(self): return False det = SynGauss("det", motor, "motor", center=0, Imax=1, sigma=1) det.rewindable = FakeSig() assert not all_safe_rewind([det])
def test_no_rewind_device(hw): hw.det.rewindable = hw.bool_sig assert not all_safe_rewind([hw.det])
def test_no_rewind_device(hw): hw.det.rewindable = hw.bool_sig assert not all_safe_rewind([hw.det])