debian-forge/tools/test
Tomáš Hozza e635a8a067 tools/test/depsolve: don't always pass repos, root_dir and opt_metadata
Modify the `config_combos()` to return `repo_configs` and `root_dir`
only if it should be really used. Otherwise, return `None`. Modify all
helper functions for dnf-depsolve API calls to add relevant fields to
the request JSON, only if the relevant values are set. This makes the
test cleaner, since previously, the `root_dir` was always set.

The same applies to `dnf_config`, which could be set to `None` already,
so let's make it optional.

Signed-off-by: Tomáš Hozza <thozza@redhat.com>
2025-02-18 10:50:19 +01:00
..
test_depsolve.py tools/test/depsolve: don't always pass repos, root_dir and opt_metadata 2025-02-18 10:50:19 +01:00
test_osbuild_image_info.py Tools/osbuild-image-info: make read_selinux_ctx_mismatch more robust 2025-02-11 20:18:07 +01:00