tmt.config package

Subpackages

Module contents

class tmt.config.Config

Bases: object

User configuration

Initialize config directory path

property fmf_tree: Tree

Return the configuration tree

property last_run: Path | None

Get the last run workdir path

Return the link configuration, if present.

tmt.config.effective_config_dir() Path

Find out what the actual config directory is.

If TMT_CONFIG_DIR variable is set, it is used. Otherwise, DEFAULT_CONFIG_DIR is picked.