diff --git a/glance/tests/functional/test_copy_to_file.py b/glance/tests/functional/test_copy_to_file.py index 6fc94e9293..1992f7844d 100644 --- a/glance/tests/functional/test_copy_to_file.py +++ b/glance/tests/functional/test_copy_to_file.py @@ -111,6 +111,7 @@ class TestCopyToFile(functional.FunctionalTest): data = json.loads(content) copy_image_id = data['image']['id'] + self.assertNotEqual(copy_image_id, original_image_id) # GET image and make sure image content is as expected path = "http://%s:%d/v1/images/%s" % ("0.0.0.0", self.api_port, diff --git a/glance/tests/functional/test_s3.py b/glance/tests/functional/test_s3.py index 79fdf066b8..88675f1b8b 100644 --- a/glance/tests/functional/test_s3.py +++ b/glance/tests/functional/test_s3.py @@ -209,6 +209,7 @@ class TestS3(test_api.TestApi): data = json.loads(content) copy_image_id = data['image']['id'] + self.assertNotEqual(copy_image_id, original_image_id) # GET image and make sure image content is as expected path = "http://%s:%d/v1/images/%s" % ("0.0.0.0", self.api_port, diff --git a/glance/tests/functional/test_swift.py b/glance/tests/functional/test_swift.py index 4e36cc4034..46acc957d9 100644 --- a/glance/tests/functional/test_swift.py +++ b/glance/tests/functional/test_swift.py @@ -480,6 +480,7 @@ class TestSwift(test_api.TestApi): data = json.loads(content) copy_image_id = data['image']['id'] + self.assertNotEqual(copy_image_id, original_image_id) # GET image and make sure image content is as expected path = "http://%s:%d/v1/images/%s" % ("0.0.0.0", self.api_port,