def test_destroy_function_error(self):
        self.assertRaises(SaltCloudSystemExit, opennebula.destroy, 'my-vm', 'function')
Tests that a SaltCloudSystemExit is raised when --function or -f is provided.
dataset/ETHPy150Open saltstack/salt/tests/unit/cloud/clouds/opennebula_test.py/OpenNebulaTestCase.test_destroy_function_error