Commit 4ce634d
Fix test_yumpkg_group_installed_with_repo_options for dnf5
yumpkg.group_info() builds a different CLI invocation for dnf5
("group", "info", name as three tokens) than for legacy yum/dnf
("groupinfo", name), but the test hardcoded the legacy form. On the
new fedora-43 CI runner (which has a real dnf5 binary, so
yumpkg._yum() resolves to "dnf5"), this made all 4 parametrized cases
fail with AssertionError: expected call not found.
Mirror the same _yum() == "dnf5" branch used in yumpkg.group_info so
the expected command matches whichever package manager is actually
detected.1 parent 972e0d5 commit 4ce634d
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1509 | 1509 | | |
1510 | 1510 | | |
1511 | 1511 | | |
1512 | | - | |
| 1512 | + | |
| 1513 | + | |
| 1514 | + | |
| 1515 | + | |
1513 | 1516 | | |
1514 | 1517 | | |
1515 | 1518 | | |
| |||
0 commit comments