def __init__(self, params, root_dir, tag): """ Init the default value for image object. @param params: Dictionary containing the test parameters. @param root_dir: Base directory for relative filenames. @param tag: Image tag defined in parameter images """ storage.QemuImg.__init__(self, params, root_dir, tag) self.image_cmd = utils_misc.get_qemu_img_binary(params) q_result = utils.run(self.image_cmd, ignore_status=True, verbose=False) self.help_text = q_result.stdout
def __init__(self, params, root_dir, tag): """ Init the default value for image object. :param params: Dictionary containing the test parameters. :param root_dir: Base directory for relative filenames. :param tag: Image tag defined in parameter images """ storage.QemuImg.__init__(self, params, root_dir, tag) self.image_cmd = utils_misc.get_qemu_img_binary(params) q_result = utils.run(self.image_cmd, ignore_status=True, verbose=False) self.help_text = q_result.stdout