Merge "Fix libguestfs failure in test_can_resize_need_fs_type_specified"

This commit is contained in:
Jenkins 2015-07-21 15:19:40 +00:00 committed by Gerrit Code Review
commit 00f85052b5
1 changed files with 1 additions and 1 deletions

View File

@ -79,7 +79,7 @@ class APITestCase(test.NoDBTestCase):
imgfile = tempfile.NamedTemporaryFile()
self.addCleanup(imgfile.close)
image = imgmodel.LocalFileImage(imgfile, imgmodel.FORMAT_QCOW2)
image = imgmodel.LocalFileImage(imgfile.name, imgmodel.FORMAT_QCOW2)
self.assertFalse(api.is_image_extendable(image))
def test_resize2fs_success(self):