def test_that_when_updating_function_code_without_code_raises_a_salt_invocation_error(self):
        with patch.dict(boto_lambda.__salt__, {'boto_iam.get_account_id': MagicMock(return_value='1234')}):
            with self.assertRaisesRegexp(SaltInvocationError,
                                     'Either ZipFile must be specified, or S3Bucket and S3Key must be provided.'):
                result = boto_lambda.update_function_code(FunctionName='testfunction',
                                                    **conn_parameters)
remove a named snapshot from nodes
dataset/ETHPy150Open saltstack/salt/tests/unit/modules/boto_lambda_test.py/BotoLambdaFunctionTestCase.test_that_when_updating_function_code_without_code_raises_a_salt_invocation_error--crossover with--dataset/ETHPy150Open ohmu/poni/poni/tool.py/Tool.handle_cloud_remove_snapshot