def test_check_volume_presence_error(self):
        gmgr = common.GlusterManager('[email protected]')

        self.assertRaises(
            exception.GlusterfsException,
            common._check_volume_presence(mock.Mock()), gmgr)
Exemple #2
0
    def test_check_volume_presence_error(self):
        gmgr = common.GlusterManager('[email protected]')

        self.assertRaises(
            exception.GlusterfsException,
            common._check_volume_presence(mock.Mock()), gmgr)
 def test_check_volume_presence(self):
     common._check_volume_presence(mock.Mock())(self._gluster_manager)
Exemple #4
0
 def test_check_volume_presence(self):
     common._check_volume_presence(mock.Mock())(self._gluster_manager)