'check physical links when user set them in configure file.'

def test_check_physical_links3(self):

    src_helper = FakeDS8KCommonHelper(self.configuration, None)
    device = TEST_REPLICATION_DEVICE.copy()
    device['port_pairs'] = ((TEST_SOURCE_IOPORT + '-') + TEST_TARGET_IOPORT)
    repl = FakeReplication(src_helper, device)
    expected_port_pairs = [{'source_port_id': TEST_SOURCE_IOPORT, 'target_port_id': TEST_TARGET_IOPORT}]
    repl.check_physical_links()
    self.assertEqual(expected_port_pairs, repl._target_helper.backend['port_pairs'])
