Add failures output to ecs.describe_services (#3641)
* Add failures output to ecs.describe_services * Fix autoscaling tests
This commit is contained in:
parent
fe9f1dfe14
commit
0211e9d78d
6 changed files with 261 additions and 175 deletions
|
|
@ -1,6 +1,8 @@
|
|||
import boto3
|
||||
from moto import mock_cloudformation, mock_ecs, mock_autoscaling, mock_s3
|
||||
import json
|
||||
|
||||
from moto.core import ACCOUNT_ID
|
||||
from tests import EXAMPLE_AMI_ID
|
||||
|
||||
depends_on_template_list = {
|
||||
|
|
@ -110,7 +112,9 @@ def test_create_stack_with_depends_on():
|
|||
|
||||
ecs = boto3.client("ecs", region_name="us-east-1")
|
||||
cluster_arn = ecs.list_clusters()["clusterArns"][0]
|
||||
assert cluster_arn == "arn:aws:ecs:us-east-1:012345678910:cluster/test-cluster"
|
||||
assert cluster_arn == "arn:aws:ecs:us-east-1:{}:cluster/test-cluster".format(
|
||||
ACCOUNT_ID
|
||||
)
|
||||
|
||||
|
||||
@mock_cloudformation
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue