def run(context, all_, id_, environment, **kwargs): """ Run test steps. """ # Initialize run = tmt.Run(id_, context.obj.tree, context=context) context.obj.run = run # Check for sane environment variables for env in environment: if '=' not in env: raise tmt.utils.GeneralError( f"Invalid environment variable specification '{env}'.")
def run(context, all_, id_): """ Run test steps. """ # Initialize global run run = tmt.Run(id_, tree) # All test steps are enabled if no step selected enabled = context.invoked_subcommand is None or all_ tmt.steps.Discover.enabled = enabled tmt.steps.Provision.enabled = enabled tmt.steps.Prepare.enabled = enabled tmt.steps.Execute.enabled = enabled tmt.steps.Report.enabled = enabled tmt.steps.Finish.enabled = enabled
def run(context, id_, **kwargs): """ Run test steps. """ # Initialize run = tmt.Run(id_, context.obj.tree, context=context) context.obj.run = run
def run(context, all_, id_, **kwargs): """ Run test steps. """ # Initialize run = tmt.Run(id_, context.obj.tree) run._context = context context.obj.run = run
def run(context, all_, id_, **kwargs): """ Run test steps. """ # Initialize tmt.Run._save_context(context) run = tmt.Run(id_, context.obj.tree) context.obj.run = run