Handle edge case where you can end up with double dashes in target group names
This commit is contained in:
parent
81381cd035
commit
eb018c01a5
2 changed files with 5 additions and 1 deletions
|
|
@ -1584,5 +1584,5 @@ def test_create_target_groups_through_cloudformation():
|
|||
# and one named MyTargetGroup
|
||||
assert len([tg for tg in target_group_dicts if tg['TargetGroupName'] == 'MyTargetGroup']) == 1
|
||||
assert len(
|
||||
[tg for tg in target_group_dicts if tg['TargetGroupName'].startswith('test-stack-test')]
|
||||
[tg for tg in target_group_dicts if tg['TargetGroupName'].startswith('test-stack')]
|
||||
) == 2
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue