Merge pull request #903 from mvantellingen/ecs-deployments

Add deployments to the ecs services (describe_services)
This commit is contained in:
Steve Pulec 2017-04-15 23:46:02 -04:00 committed by GitHub
commit a83a235637
2 changed files with 27 additions and 1 deletions

View file

@ -403,6 +403,11 @@ def test_describe_services():
'arn:aws:ecs:us-east-1:012345678910:service/test_ecs_service2')
response['services'][1]['serviceName'].should.equal('test_ecs_service2')
response['services'][0]['deployments'][0]['desiredCount'].should.equal(2)
response['services'][0]['deployments'][0]['pendingCount'].should.equal(2)
response['services'][0]['deployments'][0]['runningCount'].should.equal(0)
response['services'][0]['deployments'][0]['status'].should.equal('PRIMARY')
@mock_ecs
def test_update_service():