Esempio n. 1
0
    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
Esempio n. 2
0
 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
Esempio n. 3
0
    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
Esempio n. 4
0
 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