Ejemplo n.º 1
0
 def setUp(self):
     self.mock_usb = _Mock690LcDevice()
     self.device = Modern690Lc(self.mock_usb, 'Mock Modern 690LC')
     self.device.connect()
Ejemplo n.º 2
0
def mockModern690LcDevice():
    device = _Mock690LcDevice()
    dev = Modern690Lc(device, 'Mock Modern 690LC')

    dev.connect()
    return dev