Пример #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)
Пример #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)