diff --git a/tmt/steps/provision/mrack.py b/tmt/steps/provision/mrack.py index 23c1090bb5..6908dde42d 100644 --- a/tmt/steps/provision/mrack.py +++ b/tmt/steps/provision/mrack.py @@ -4,6 +4,7 @@ import importlib.metadata import logging import os +import re from collections.abc import Mapping from contextlib import suppress from functools import wraps @@ -1182,7 +1183,8 @@ def _create(self, tmt_name: str) -> None: mrack_requirement = self.api._mrack_transformer.create_host_requirement(data) if self.is_dry_run: job = self.api._mrack_provider._req_to_bkr_job(mrack_requirement) - self.info(f"beaker job xml: '{job.toxml()}'") + self.print(re.sub(r'^\t+', lambda match: ' ' * + len(match.group()), job.toxml(prettyxml=True), flags=re.MULTILINE)) return try: response = self.api.create(data)