From b847d420e957bd8066f4ec322b538ca7fec80697 Mon Sep 17 00:00:00 2001 From: dreadpirateshawn Date: Fri, 12 Sep 2014 11:51:50 -0700 Subject: [PATCH] Network Interfaces: Added attach/detach support. (added test threshold for Boto 2.32) --- tests/test_ec2/test_instances.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/test_ec2/test_instances.py b/tests/test_ec2/test_instances.py index 4a4730ec4..bc6938e82 100644 --- a/tests/test_ec2/test_instances.py +++ b/tests/test_ec2/test_instances.py @@ -11,6 +11,7 @@ from boto.exception import EC2ResponseError import sure # noqa from moto import mock_ec2 +from tests.helpers import requires_boto_gte ################ Test Readme ############### @@ -360,6 +361,7 @@ def test_run_instance_with_nic_preexisting(): instance_eni.private_ip_addresses[0].private_ip_address.should.equal(private_ip) +@requires_boto_gte("2.32.0") @mock_ec2 def test_instance_with_nic_attach_detach(): conn = boto.connect_vpc('the_key', 'the_secret')