assertRaisesAckTimeoutError¶
- lsst.ts.salobj.assertRaisesAckTimeoutError(ack: int | None = None, error: int | None = None) Generator[None, None, None] ¶
Assert that code raises a salobj.AckTimeoutError
- Parameters:
- ack
int
, optional Ack code of the last ack seen, almost always a
SalRetCode
CMD_<x>
constant. If None then the ack code is not checked.- error
int
, optional Error code. If None then the error value is not checked.
- ack