Ejemplo n.º 1
0
 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)
Ejemplo n.º 2
0
 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)