def setUp(self): d = connect_to_rig(reactor, options=['-m', '1'], port=4530) def on_connect(rig_device): self.__rig = rig_device.get_components()['rig'] d.addCallback(on_connect) return d
def setUp(self): d = connect_to_rig(reactor, options=['-m', '1'], port=4530) def on_connect(rig_device): self.__rig = rig_device.get_components_dict()['rig'] d.addCallback(on_connect) return d
def setUp(self): d = connect_to_rig(reactor, options=['-m', '1'], port=4530) def on_connect(rig_device): self.__rig = rig_device.get_components_dict()['rig'] # pylint: disable=no-member d.addCallback(on_connect) return d
def setUp(self): d = connect_to_rig(reactor, options=['-m', '1']) def on_connect(rig_device): self.__rig = rig_device.get_components_dict()['rig'] # pylint: disable=no-member d.addCallback(on_connect) return d