Network Interfaces: Added attach/detach support. (added test threshold for Boto 2.32)
This commit is contained in:
parent
04a4ae88bf
commit
b847d420e9
@ -11,6 +11,7 @@ from boto.exception import EC2ResponseError
|
|||||||
import sure # noqa
|
import sure # noqa
|
||||||
|
|
||||||
from moto import mock_ec2
|
from moto import mock_ec2
|
||||||
|
from tests.helpers import requires_boto_gte
|
||||||
|
|
||||||
|
|
||||||
################ Test Readme ###############
|
################ 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)
|
instance_eni.private_ip_addresses[0].private_ip_address.should.equal(private_ip)
|
||||||
|
|
||||||
|
|
||||||
|
@requires_boto_gte("2.32.0")
|
||||||
@mock_ec2
|
@mock_ec2
|
||||||
def test_instance_with_nic_attach_detach():
|
def test_instance_with_nic_attach_detach():
|
||||||
conn = boto.connect_vpc('the_key', 'the_secret')
|
conn = boto.connect_vpc('the_key', 'the_secret')
|
||||||
|
Loading…
Reference in New Issue
Block a user