pkgset: Merge initial package set without checks
For the first pass we don't need to filter out exclusive architectures, and we don't need to exclude source packages without any binary packages. We just want to merge the two package sets as fast as possible. Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
This commit is contained in:
parent
b393a4246b
commit
c83316da31
3 changed files with 15 additions and 4 deletions
|
|
@ -170,8 +170,8 @@ class TestPopulateGlobalPkgset(helpers.PungiTestCase):
|
|||
logfile=self.topdir + '/logs/global/packages_from_f25-extra.global.log')])
|
||||
pkgset.assert_has_calls([mock.call.save_file_list(self.topdir + '/work/global/package_list/global.conf',
|
||||
remove_path_prefix='/prefix')])
|
||||
# for each tag, call pkgset.merge once for each variant and once for global pkgset
|
||||
self.assertEqual(pkgset.merge.call_count, 2 * (len(self.compose.all_variants.values()) + 1))
|
||||
# for each tag, call pkgset.fast_merge once for each variant and once for global pkgset
|
||||
self.assertEqual(pkgset.fast_merge.call_count, 2 * (len(self.compose.all_variants.values()) + 1))
|
||||
self.assertItemsEqual(pickle_dumps.call_args_list,
|
||||
[mock.call(orig_pkgset)])
|
||||
with open(self.pkgset_path) as f:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue