On systems where `dnf` and the Python module aren't available, skip the unit tests that call into the `dnf-json` script. A test flag, `-force-dnf` is added to avoid this check and run the tests unconditionally. This is useful for cases where the sniff check might fail for wrong reasons or, more importantly, for cases where we want to be sure the tests are ran and consider a missing `dnf` module to be an error state (e.g., in CI). |
||
|---|---|---|
| .. | ||
| dnfjson.go | ||
| dnfjson_test.go | ||