def _parseVolumeProfileInfoNfs_test(self): with open("glusterVolumeProfileInfoNfs.xml") as f: out = f.read() tree = etree.fromstring(out) status = gcli._parseVolumeProfileInfo(tree, True) self.assertEquals(status, glusterTestData.PROFILE_INFO_NFS)