Example #1
0
 def test_create(self):
     client = boto3.client('ec2', region_name=aws_region)
     success, changed, err_msg, results = (ng.create(client,
                                                     'subnet-123456',
                                                     'eipalloc-1234567',
                                                     check_mode=True))
     self.assertTrue(success)
     self.assertTrue(changed)
 def test_create(self):
     client = boto3.client('ec2', region_name=aws_region)
     success, changed, err_msg, results = (
         ng.create(
             client, 'subnet-123456', 'eipalloc-1234567', check_mode=True
         )
     )
     self.assertTrue(success)
     self.assertTrue(changed)