def test_that_when_updating_an_event_source_mapping_succeeds_the_update_event_source_mapping_method_returns_true(self):
        self.conn.update_event_source_mapping.return_value = event_source_mapping_ret
        result = boto_lambda.update_event_source_mapping(
                                          UUID=event_source_mapping_ret['UUID'],
                                          FunctionName=event_source_mapping_ret['FunctionArn'],
                                          **conn_parameters)

        self.assertTrue(result['updated'])
tests True event_source_mapping updated.
dataset/ETHPy150Open saltstack/salt/tests/unit/modules/boto_lambda_test.py/BotoLambdaEventSourceMappingTestCase.test_that_when_updating_an_event_source_mapping_succeeds_the_update_event_source_mapping_method_returns_true