pungi/tests
Tomas Hozza 805a1083a2
osbuild: accept only a single image type in the configuration
Modify the osbuild configuration schema to accept only an array with a
single value as the `image_types`, in addition to a single string. The
single string was supported by the schema also before, but this fact was
not mentioned in the documentation, nor it was supported by the
`koji-osbuild` plugin of version lower than `9`.

Update the documentation accordingly.

Add unit test for invalid configuration containing more than one image
type.

Signed-off-by: Tomas Hozza <thozza@redhat.com>
2022-09-06 10:55:25 +02:00
..
data createiso: Make ISO level more granular 2022-08-16 14:38:18 +02:00
fixtures Stop trying to validate non-existent metadata 2021-11-04 09:57:20 +01:00
__init__.py Fix test data, improve Makefile. 2015-06-25 08:02:57 -04:00
Dockerfile-test Install missing deps in ci image 2021-08-17 12:01:51 +08:00
Dockerfile-test-py2 Install missing deps in ci image 2021-08-17 12:01:51 +08:00
helpers.py Make getting old compose config reusable 2021-09-09 10:38:34 +02:00
Jenkinsfile Add Jenkinsfile for CI 2022-08-29 17:38:04 +08:00
test_arch.py Fix flake8 complaints - F401 2020-02-07 11:48:31 +08:00
test_arguments.py Format tests with black 2020-02-05 17:29:15 +08:00
test_buildinstall.py Updated the deprecated ks argument name (to the current inst.ks) 2021-04-21 21:04:01 +03:00
test_checks.py Check dependencies after config validation 2021-11-04 13:37:51 +00:00
test_compose.py Store extended traceback for gather errors 2021-02-17 11:11:26 +01:00
test_compose.sh tests: Fix test_compose.sh paths 2017-08-10 09:28:36 +02:00
test_comps_wrapper.py Filter out environment groups unmatch given arch 2022-02-22 11:33:25 +08:00
test_config_utils.py Fix flake8 complaints - F401 2020-02-07 11:48:31 +08:00
test_config_validate_script.py Fix formatting issues 2020-02-07 16:16:20 +08:00
test_config.py Format code 2021-03-02 18:31:45 +08:00
test_createiso_phase.py createiso: Make ISO level more granular 2022-08-16 14:38:18 +02:00
test_createiso_script.py Fix flake8 complaints - E501 2020-02-07 14:36:46 +08:00
test_createrepo_wrapper.py Fix flake8 complaints - F401 2020-02-07 11:48:31 +08:00
test_createrepophase.py Pass compose parameter for debugging git issue 2021-11-26 15:40:35 +08:00
test_extra_files_phase.py Use pytest instead of nosetests 2020-07-29 14:57:16 +08:00
test_extra_isos_phase.py Fix tests for python 2.6 2021-11-12 17:04:17 +08:00
test_fus_wrapper.py Format code 2021-03-02 18:31:45 +08:00
test_gather_method_deps.py Fix flake8 complaints - E501 2020-02-07 14:36:46 +08:00
test_gather_method_hybrid.py hybrid: Explicitly pull in debugsource packages 2022-01-12 13:59:09 +00:00
test_gather_method_nodeps.py Fix flake8 complaints - F401 2020-02-07 11:48:31 +08:00
test_gather_phase.py Make getting old compose config reusable 2021-09-09 10:38:34 +02:00
test_gather_source_module.py Fix flake8 complaints - F401 2020-02-07 11:48:31 +08:00
test_gather.py Format code 2021-03-02 18:31:45 +08:00
test_graph.py Fix flake8 complaints - E501 2020-02-07 14:36:46 +08:00
test_image_container_phase.py Cancel koji tasks when pungi terminated 2021-03-23 14:47:48 +08:00
test_imagebuildphase.py image_build: Allow reusing old image_build results 2021-10-20 14:07:02 +08:00
test_imagechecksumphase.py Fix flake8 complaints - E501 2020-02-07 14:36:46 +08:00
test_initphase.py Fix module defaults and obsoletes validation 2022-06-10 11:35:26 +00:00
test_iso_wrapper.py Fix flake8 complaints - E501 2020-02-07 14:36:46 +08:00
test_koji_wrapper.py kojiwrapper: Ignore warnings before task id 2022-04-26 08:15:13 +02:00
test_linker.py Fix flake8 complaints - F401 2020-02-07 11:48:31 +08:00
test_liveimagesphase.py Fix flake8 complaints - E501 2020-02-07 14:36:46 +08:00
test_livemediaphase.py nomacboot option for livemedia koji tasks 2022-03-23 09:36:51 +01:00
test_lorax_wrapper.py Replace -c parameter with --config 2020-08-13 11:16:43 +02:00
test_media_split.py Fix flake8 complaints - F401 2020-02-07 11:48:31 +08:00
test_metadata.py Fix flake8 complaints - F401 2020-02-07 11:48:31 +08:00
test_module_util.py Fix module defaults and obsoletes validation 2022-06-10 11:35:26 +00:00
test_notifier.py Fix the wrong working directory for the progress_notification script 2022-03-01 11:25:06 +00:00
test_orchestrator.py Fix flake8 complaints - F401 2020-02-07 11:48:31 +08:00
test_osbs_phase.py osbs: only handle archives of type "image" 2022-03-17 11:04:02 -04:00
test_osbuild_phase.py osbuild: accept only a single image type in the configuration 2022-09-06 10:55:25 +02:00
test_ostree_installer_phase.py Allow using Pungi Koji plugin for ostree phases. 2020-05-26 13:23:58 +00:00
test_ostree_phase.py ostree: Add unified core mode for compose in rpm-ostree 2022-08-23 10:52:45 +02:00
test_ostree_script.py ostree: Add unified core mode for compose in rpm-ostree 2022-08-23 10:52:45 +02:00
test_ostree_utils.py Fix flake8 complaints - F401 2020-02-07 11:48:31 +08:00
test_patch_iso.py Fix black complaint 2022-08-10 09:04:41 +02:00
test_pathmatch.py Fix flake8 complaints - F401 2020-02-07 11:48:31 +08:00
test_phase_base.py Fix flake8 complaints - F401 2020-02-07 11:48:31 +08:00
test_pkgset_common.py Fix module defaults and obsoletes validation 2022-06-10 11:35:26 +00:00
test_pkgset_phase.py Move test for unsigned packages with pkgset_koji_scratch_tasks to PkgsetPhase class. 2020-06-11 12:05:47 +00:00
test_pkgset_pkgsets.py pkgset: Fix meaning of retries 2021-02-23 16:01:41 +01:00
test_pkgset_source_koji.py Supersede ModuleStream loading with ModuleIndex 2021-08-12 16:32:38 +02:00
test_repoclosure_phase.py Split repoclosure into separate phase 2020-04-14 09:25:57 +08:00
test_repoclosure_wrapper.py repoclosure: Use --forcearch for dnf repoclosure 2021-11-02 08:51:40 +01:00
test_runroot.py runroot: Adjust permissions always 2021-03-04 16:08:06 +08:00
test_scm.py Revert "Do not clone the same repository multiple times, re-use already cloned repository" 2022-04-13 16:21:55 +08:00
test_test_phase.py Stop trying to validate non-existent metadata 2021-11-04 09:57:20 +01:00
test_unified_isos.py Use pytest instead of nosetests 2020-07-29 14:57:16 +08:00
test_util.py util: Strip file:// from local urls 2021-05-06 12:37:55 +02:00
test_variant_wrapper.py Fix flake8 complaints - F401 2020-02-07 11:48:31 +08:00