pungi/tests
Lubomír Sedlář 535034ef91 image_container: Fix incorrect arch processing
OSBS will reject no scratch builds with arch_override.

When the option is not specified in Pungi, it would do `"".split(" ")`
to get list of arches, which returns a list with empty string instead of
an empty list.

With this fixed, it might be possible to have multiple images match the
spec (unless arch is used in the filter). To fix that, we can replace
arch with $basearch variable.

JIRA: RHELCMP-3824
Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
2021-03-08 11:57:48 +01:00
..
data Add --schema-override to pungi-config-validate script 2020-02-05 10:03:30 +01:00
fixtures createrepo: Add extra modulemd files to the repo 2020-06-10 09:50:44 +02:00
__init__.py Fix test data, improve Makefile. 2015-06-25 08:02:57 -04:00
helpers.py Format code 2021-03-02 18:31:45 +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 Format code 2021-03-02 18:31:45 +08:00
test_checks.py Use pytest instead of nosetests 2020-07-29 14:57:16 +08: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 Fix flake8 complaints - F401 2020-02-07 11:48:31 +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 Use xorrisofs for creating ISOs when needed 2020-11-20 09:47:49 +08: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 Format code 2021-03-02 18:31:45 +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 Format code 2021-03-02 18:31:45 +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 Format code 2021-03-02 18:31:45 +08:00
test_gather_method_nodeps.py Fix flake8 complaints - F401 2020-02-07 11:48:31 +08:00
test_gather_phase.py Try reuse old gather_phase even if pkgset_koji_builds changed. 2020-11-10 12:52:02 +01: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 image_container: Fix incorrect arch processing 2021-03-08 11:57:48 +01:00
test_imagebuildphase.py Fix flake8 complaints - E501 2020-02-07 14:36:46 +08:00
test_imagechecksumphase.py Fix flake8 complaints - E501 2020-02-07 14:36:46 +08:00
test_initphase.py Stop copying .git directory with module defaults 2021-01-14 10:36:38 +08:00
test_iso_wrapper.py Fix flake8 complaints - E501 2020-02-07 14:36:46 +08:00
test_koji_wrapper.py runroot: Adjust permissions always 2021-03-04 16:08:06 +08: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 Use pytest instead of nosetests 2020-07-29 14:57:16 +08: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_notifier.py notification: Add compose_path into the messages 2020-06-09 06:40:26 +00:00
test_orchestrator.py Fix flake8 complaints - F401 2020-02-07 11:48:31 +08:00
test_osbs_phase.py Format code 2021-03-02 18:31:45 +08:00
test_osbuild_phase.py osbuild: Fix not failing on failable tasks 2020-12-02 14:30:20 +01: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 Allow using Pungi Koji plugin for ostree phases. 2020-05-26 13:23:58 +00:00
test_ostree_script.py Fix flake8 complaints - E501 2020-02-07 14:36:46 +08:00
test_ostree_utils.py Fix flake8 complaints - F401 2020-02-07 11:48:31 +08:00
test_patch_iso.py tests: Fix mock usage for Python 2 2020-09-25 12:41:05 +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 Allow test calls in any order 2020-07-08 08:26:59 +02: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 tests: Fix tests for old version of git 2020-08-18 12:38:20 +08:00
test_repoclosure_phase.py Split repoclosure into separate phase 2020-04-14 09:25:57 +08:00
test_repoclosure_wrapper.py Fix flake8 complaints - E501 2020-02-07 14:36:46 +08:00
test_runroot.py runroot: Adjust permissions always 2021-03-04 16:08:06 +08:00
test_scm.py gitwrapper: Re-run git init before do full clone 2020-09-10 10:09:46 +08:00
test_test_phase.py Format code 2021-03-02 18:31:45 +08:00
test_unified_isos.py Use pytest instead of nosetests 2020-07-29 14:57:16 +08:00
test_util.py Format code 2021-03-02 18:31:45 +08:00
test_variant_wrapper.py Fix flake8 complaints - F401 2020-02-07 11:48:31 +08:00