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

    dev.connect()
    return dev