AMI: Implement copy_image. (part 3, added boto version threshold)
This commit is contained in:
parent
1940f7c17a
commit
635a0e0f64
1 changed files with 2 additions and 0 deletions
|
|
@ -9,6 +9,7 @@ from boto.exception import EC2ResponseError
|
|||
import sure # noqa
|
||||
|
||||
from moto import mock_ec2
|
||||
from tests.helpers import requires_boto_gte
|
||||
|
||||
|
||||
@mock_ec2
|
||||
|
|
@ -51,6 +52,7 @@ def test_ami_create_and_delete():
|
|||
cm.exception.request_id.should_not.be.none
|
||||
|
||||
|
||||
@requires_boto_gte("2.14.0")
|
||||
@mock_ec2
|
||||
def test_ami_copy():
|
||||
conn = boto.connect_ec2('the_key', 'the_secret')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue