Add test_case for layer per stack
Add a new test case for creating a layer with the same name under a different stack.
This commit is contained in:
parent
1bcd61dc36
commit
7599fd5dc0
@ -24,6 +24,22 @@ def test_create_layer_response():
|
||||
Name="TestLayer",
|
||||
Shortname="TestLayerShortName"
|
||||
)
|
||||
|
||||
response.should.contain("LayerId")
|
||||
|
||||
second_stack_id = client.create_stack(
|
||||
Name="test_stack_2",
|
||||
Region="us-east-1",
|
||||
ServiceRoleArn="service_arn",
|
||||
DefaultInstanceProfileArn="profile_arn"
|
||||
)['StackId']
|
||||
|
||||
response = client.create_layer(
|
||||
StackId=second_stack_id,
|
||||
Type="custom",
|
||||
Name="TestLayer",
|
||||
Shortname="TestLayerShortName"
|
||||
)
|
||||
|
||||
response.should.contain("LayerId")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user