assertRaisesAckError¶
-
lsst.ts.salobj.assertRaisesAckError(ack=None, error=None, result_contains=None)¶ Assert that code raises a salobj.AckError
Parameters: - ack :
int, optional Ack code, almost always a
SalRetCodeCMD_<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.
- result_contains :
str, optional If not None then the result value must contain this string.
- ack :