def test_that_when_describing_function_it_returns_the_dict_of_properties_returns_false(self):
        self.conn.list_functions.return_value = {'Functions': []}
        with patch.dict(boto_lambda.__salt__, {'boto_iam.get_account_id': MagicMock(return_value='1234')}):
            result = boto_lambda.describe_function(FunctionName='testfunction', **conn_parameters)

        self.assertFalse(result['function'])
Regression for #11900: If a block wrapped by commit_on_success
dataset/ETHPy150Open saltstack/salt/tests/unit/modules/boto_lambda_test.py/BotoLambdaFunctionTestCase.test_that_when_describing_function_it_returns_the_dict_of_properties_returns_false--crossover with--dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/Django-1.6.10/tests/transactions/tests.py/TransactionContextManagerTests.test_bad_sql