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

        self.assertRaises(
            exception.GlusterfsException,
            common._check_volume_presence(mock.Mock()), gmgr)
Example #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)
Example #4
0
 def test_check_volume_presence(self):
     common._check_volume_presence(mock.Mock())(self._gluster_manager)