AMI: Implement copy_image. (part 3, added boto version threshold)

This commit is contained in:
dreadpirateshawn 2014-09-29 12:28:53 -07:00
parent 1940f7c17a
commit 635a0e0f64

View File

@ -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')