Fixed test_lambda_can_be_deleted_by_cloudformation for new (correct) error code.

This commit is contained in:
Terry Griffin 2020-02-10 09:18:25 -08:00
parent b4c9b76ca9
commit f70cd0182e

View File

@ -94,7 +94,7 @@ def test_lambda_can_be_deleted_by_cloudformation():
# Verify function was deleted
with assert_raises(ClientError) as e:
lmbda.get_function(FunctionName=created_fn_name)
e.exception.response["Error"]["Code"].should.equal("404")
e.exception.response["Error"]["Code"].should.equal("ResourceNotFoundException")
def create_stack(cf, s3):