Fixed test_lambda_can_be_deleted_by_cloudformation for new (correct) error code.
This commit is contained in:
parent
b4c9b76ca9
commit
f70cd0182e
@ -94,7 +94,7 @@ def test_lambda_can_be_deleted_by_cloudformation():
|
|||||||
# Verify function was deleted
|
# Verify function was deleted
|
||||||
with assert_raises(ClientError) as e:
|
with assert_raises(ClientError) as e:
|
||||||
lmbda.get_function(FunctionName=created_fn_name)
|
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):
|
def create_stack(cf, s3):
|
||||||
|
Loading…
Reference in New Issue
Block a user