pkgset: Stop reuse if configuration changed

When options controlling excluding arches change, it should break reuse.

Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
This commit is contained in:
Lubomír Sedlář 2022-09-23 10:14:12 +02:00 committed by lsedlar
parent ab508c1511
commit a71c8e23be
2 changed files with 14 additions and 0 deletions

View file

@ -853,6 +853,8 @@ class TestReuseKojiPkgset(helpers.PungiTestCase):
"include_packages": None,
"rpms_by_arch": mock.Mock(),
"srpms_by_name": mock.Mock(),
"exclusive_noarch": True,
"inherit_to_noarch": True,
}
)
self.pkgset.old_file_cache = mock.Mock()