From 635a0e0f64b0f2ad8762b89758b2abbb437f5170 Mon Sep 17 00:00:00 2001 From: dreadpirateshawn Date: Mon, 29 Sep 2014 12:28:53 -0700 Subject: [PATCH] AMI: Implement copy_image. (part 3, added boto version threshold) --- tests/test_ec2/test_amis.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/test_ec2/test_amis.py b/tests/test_ec2/test_amis.py index 8235ae1d6..7c698fdd3 100644 --- a/tests/test_ec2/test_amis.py +++ b/tests/test_ec2/test_amis.py @@ -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')