def METHOD_NAME(self):
    dirName = os.path.dirname(os.path.realpath(__file__))
    path = os.path.join(dirName, "iscsiadm_-m_iface.out")
    with open(path) as f:
        out = f.read()
    Iface = iscsi.iscsiadm.Iface
    res = (Iface('default', 'tcp', None, None, None, None),
           Iface('iser', 'iser', None, None, None, None),
           Iface('eth1', 'tcp', None, None, 'SAN1', None),
           Iface('eth2', 'tcp', None, None, 'eth2', None))
    self.assertEqual(tuple(iscsi.iscsiadm.iface_list(out=out)), res)