rpm-software-management / dnf-plugins-extras

repository for DNF community plugins
GNU General Public License v2.0
65 stars 62 forks source link

test_system_upgrade: Set installroot in the mocked cli #188

Closed lukash closed 3 years ago

lukash commented 3 years ago

Fixes running tests on Fedora 31.

Sets the installroot to the default "/" in the mocked cli.base.conf. The whole object is mocked and on Fedora 31 the mocked installroot object wasn't resulting in anything the command could use. Since all the directories are already changed to temporary locations, we don't need to set the installroot to anything special.