add target_group support to autoscaling service

This commit is contained in:
captainkerk 2017-10-17 02:42:17 +00:00
commit 993b092083
4 changed files with 253 additions and 8 deletions

View file

@ -599,6 +599,11 @@ def test_attach_load_balancer():
)
list(response['LoadBalancerDescriptions'][0]['Instances']).should.have.length_of(INSTANCE_COUNT)
response = client.describe_auto_scaling_groups(
AutoScalingGroupNames=["test_asg"]
)
list(response['AutoScalingGroups'][0]['LoadBalancerNames']).should.have.length_of(1)
@mock_autoscaling
@mock_elb