1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

fixed error message for releasing an ip when not waiting for the nat gateway to delete successfully 1st

Originally from ansible/ansible-modules-extras@950d76af0b
This commit is contained in:
Allen Sanabria 2016-08-04 18:14:36 -07:00 committed by Matt Clay
parent 423b14436a
commit e56229747a

View file

@ -392,7 +392,7 @@ class AnsibleEc2VpcNatGatewayFunctions(unittest.TestCase):
def test_release_address(self): def test_release_address(self):
client = boto3.client('ec2', region_name=aws_region) client = boto3.client('ec2', region_name=aws_region)
success = ( success, _ = (
ng.release_address( ng.release_address(
client, 'eipalloc-1234567', check_mode=True client, 'eipalloc-1234567', check_mode=True
) )