tmt.config package

Subpackages

Module contents

class tmt.config.Config(logger: Logger)

Bases: object

User configuration

Initialize config directory path

property fmf_tree: Tree | None

Return the configuration tree

property hardware: HardwareConfig | None

Return the hardware configuration, if present.

property last_run: Path | None

Get the last run workdir path

Return the link configuration, if present.

property theme: Theme
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.