Fix web-download trying to import qcow2 as raw

This test aims to specifically import a qcow2 image via web-download,
but it creates the image with no such specificity. When glance begins
to inspect the stream, this will fail checking.

Change-Id: Ie901e61a1d2b395ffaff47aabbd9d3840c6b0327
This commit is contained in:
Dan Smith 2024-09-30 09:58:30 -07:00
parent 507d0dec2c
commit 6d4edfc6d3

View File

@ -132,7 +132,7 @@ class ImportImagesTest(base.BaseV2ImageTest):
""" """
self._require_import_method('web-download') self._require_import_method('web-download')
image = self._create_image() image = self._create_image(disk_format='qcow2')
# Now try to get image details # Now try to get image details
body = self.client.show_image(image['id']) body = self.client.show_image(image['id'])
self.assertEqual(image['id'], body['id']) self.assertEqual(image['id'], body['id'])