config: Make pkgset_koji_tag optional
There are valid use cases for not specifying this option: specifically a modular compose will get the tags to use from modules listed in the variants file. Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
This commit is contained in:
parent
51cd359057
commit
03293c725b
3 changed files with 4 additions and 6 deletions
|
|
@ -30,7 +30,6 @@ class PkgsetConfigTestCase(ConfigTestCase):
|
|||
def test_validate_minimal_pkgset_koji(self):
|
||||
cfg = load_config(
|
||||
pkgset_source='koji',
|
||||
pkgset_koji_tag="f25",
|
||||
)
|
||||
|
||||
self.assertValidation(cfg)
|
||||
|
|
@ -64,8 +63,7 @@ class PkgsetConfigTestCase(ConfigTestCase):
|
|||
|
||||
self.assertValidation(
|
||||
cfg,
|
||||
[checks.REQUIRES.format('pkgset_source', 'koji', 'pkgset_koji_tag'),
|
||||
checks.CONFLICTS.format('pkgset_source', 'koji', 'pkgset_repos')])
|
||||
[checks.CONFLICTS.format('pkgset_source', 'koji', 'pkgset_repos')])
|
||||
|
||||
def test_pkgset_multiple_koji_tags(self):
|
||||
cfg = load_config(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue