Did I find the right examples for you? yes no

All Samples(6)  |  Call(6)  |  Derive(0)  |  Import(0)

src/t/u/tuskar-0.4.1/tuskar/tests/api/controllers/v1/test_overcloud.py   tuskar(Download)
        # Test and Verify
        self.assertRaises(
            exception.HeatStackCreateFailed,
            overcloud.process_stack, {}, {}, {}, create=True)
 
        # Test and Verify
        self.assertRaises(
            exception.StackAlreadyCreated, overcloud.process_stack, {}, {}, {},
            create=True)
 
        # Test and Verify
        self.assertRaises(
            exception.HeatTemplateValidateFailed, overcloud.process_stack,
            {}, {}, {}, create=True)
 
        # Test and Verify
        self.assertRaises(
            exception.HeatStackUpdateFailed, overcloud.process_stack, {},
            {}, {})
 
        # Test and Verify
        self.assertRaises(
            exception.StackNotFound, overcloud.process_stack, {}, {}, {})
 
    @mock.patch('tuskar.heat.template_tools.merge_templates')