dnf: Explicitly load filelists

Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=2264414
Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
(cherry picked from commit 42befba0b1)
This commit is contained in:
Lubomír Sedlář 2024-02-15 15:23:49 +01:00 committed by Stepan Oksanichenko
parent 533ea641d8
commit 75ab6a14b2
Signed by: soksanichenko
GPG Key ID: AB9983172AB1E45B

View File

@ -2286,6 +2286,7 @@ class DNFDepsolvingTestCase(DepsolvingBase, unittest.TestCase):
conf = Conf(base_arch) conf = Conf(base_arch)
conf.persistdir = persistdir conf.persistdir = persistdir
conf.cachedir = self.cachedir conf.cachedir = self.cachedir
conf.optional_metadata_types = ["filelists"]
if exclude: if exclude:
conf.exclude = exclude conf.exclude = exclude
dnf = DnfWrapper(conf) dnf = DnfWrapper(conf)