def setUp(self):
    self.device = Device(name='aDevice')
    self.device.os = 'iosxe'
    self.device.mapping = {}
    self.device.mapping['cli'] = 'cli'
    self.device.connectionmgr.connections['cli'] = self.device
def setUp(self):
    self.device = Device(name='aDevice')
    self.device.os = 'iosxe'
    self.device.mapping = {}
    self.device.mapping['cli'] = 'cli'
    self.device.connectionmgr.connections['cli'] = self.device