Skip to content

Commit 1ae4324

Browse files
committed
Backport fix ups for Zed
1 parent be64ede commit 1ae4324

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

glance/tests/unit/common/test_format_inspector.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ def _create_img(self, fmt, size, subformat=None, options=None,
7777
suffix='.%s' % fmt)
7878
self._created_files.append(fn)
7979
subprocess.check_output(
80-
'qemu-img create -f %s %s %i' % (fmt, fn, size),
80+
'qemu-img create -f %s %s %s %i' % (fmt, opt, fn, size),
8181
shell=True)
8282
return fn
8383

glance/tests/unit/v2/test_tasks_resource.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -415,8 +415,8 @@ def test_create_with_wrong_import_form(self):
415415
"non-local source of image data.")
416416
else:
417417
supported = ['http', ]
418-
msg = ("The given uri is not valid. Please specify a "
419-
"valid uri from the following list of supported uri "
418+
msg = ("The given URI is not valid. Please specify a "
419+
"valid URI from the following list of supported URI "
420420
"%(supported)s") % {'supported': supported}
421421
self.assertEqual(msg, final_task.message)
422422

0 commit comments

Comments
 (0)