Merge pull request #2474 from jrstarke/2473

Added Exception to describe_container_instances to match aws api
This commit is contained in:
Mike Grima 2019-10-12 15:41:02 -07:00 committed by GitHub
commit c46ee4cf8d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 0 deletions

View file

@ -889,6 +889,12 @@ def test_describe_container_instances():
instance.keys().should.contain('runningTasksCount')
instance.keys().should.contain('pendingTasksCount')
with assert_raises(ClientError) as e:
ecs_client.describe_container_instances(
cluster=test_cluster_name,
containerInstances=[]
)
@mock_ec2
@mock_ecs