@classmethod
def setUpClass(self):
    testbed = '\n        devices:\n          R1_xe:\n            connections:\n              defaults:\n                class: unicon.Unicon\n              a:\n                command: mock_device_cli --os iosxe --mock_data_dir mock_data --state connect\n                protocol: unknown\n            os: iosxe\n            platform: iosxe\n            type: CSR1000v\n        '
    self.testbed = loader.load(testbed)
    self.device = self.testbed.devices['R1_xe']
    self.device.connect()
@classmethod
def setUpClass(self):
    testbed = '\n        devices:\n          R1_xe:\n            connections:\n              defaults:\n                class: unicon.Unicon\n              a:\n                command: mock_device_cli --os iosxe --mock_data_dir mock_data --state connect\n                protocol: unknown\n            os: iosxe\n            platform: iosxe\n            type: CSR1000v\n        '
    self.testbed = loader.load(testbed)
    self.device = self.testbed.devices['R1_xe']
    self.device.connect()