MockCommandHandler#
- class lsst.ts.ess.common.MockCommandHandler(callback, simulation_mode, devices_in_error_state=False)#
Bases:
AbstractCommandHandlerMethods Summary
create_device(device_configuration[, ...])Create the device to connect to by using the specified configuration.
Methods Documentation
- create_device(device_configuration, devices_in_error_state=False)#
Create the device to connect to by using the specified configuration.
- Parameters:
- Returns:
device – The device to connect to.
- Return type:
common.device.BaseDevice- Raises:
RuntimeError – In case an incorrect configuration has been loaded.