pungi/tests
Christian Kellner 6998ffe694 osbuild: use task result to get build info
Instead of parsing the log file to get the NVR and then in turn
use that to get to the build info use the structured return value
from the koji task. The return value of the osbuild plugin is:
    result = {
        "composer": {
            "server": <COMPOSER_URL>,
            "id": <COMPOSE_ID>
        },
        "koji": {
            "build": <BUILD_ID>
        }
    }
This means we have direct access to the koji build id, which was
returned by composer to the plugin via its status API. Using that
removes the need to parse the log file.

Adapt the test accordingly.

Merges: https://pagure.io/pungi/pull-request/1475
Signed-off-by: Christian Kellner <christian@kellner.me>
2020-11-30 09: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 Allow reusing old buildinstall phase results. 2020-04-17 11:37:13 +00: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 Allow squashfs-only and configuration_file in lorax_options 2020-08-11 09:29:50 +00:00
test_checks.py Use pytest instead of nosetests 2020-07-29 14:57:16 +08:00
test_compose.py Add --respin-of argument. 2020-11-19 12:26:38 +00: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.py Fix flake8 complaints - E501 2020-02-07 14:36:46 +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_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 Use pytest instead of nosetests 2020-07-29 14:57:16 +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 formatting 2020-08-20 15:15:13 +02:00
test_fus_wrapper.py Fix flake8 complaints - F401 2020-02-07 11:48:31 +08:00
test_gather.py gather: Make additional_packages accept debuginfo packages 2020-02-12 16:38:08 +08:00
test_gather_method_deps.py Fix flake8 complaints - E501 2020-02-07 14:36:46 +08:00
test_gather_method_hybrid.py Fix flake8 complaints - F401 2020-02-07 11:48:31 +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_graph.py Fix flake8 complaints - E501 2020-02-07 14:36:46 +08: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 Fix flake8 complaints - F401 2020-02-07 11:48:31 +08:00
test_iso_wrapper.py Fix flake8 complaints - E501 2020-02-07 14:36:46 +08:00
test_koji_wrapper.py Do not use shlex_quote in get_pungi_buildinstall_cmd and get_pungi_ostree_cmd. 2020-11-10 07:45:05 +00: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 Use pytest instead of nosetests 2020-07-29 14:57:16 +08:00
test_osbuild_phase.py osbuild: use task result to get build info 2020-11-30 09:57:48 +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 Use pytest instead of nosetests 2020-07-29 14:57:16 +08: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 Retry buildinstall tasks on losetup error 2020-07-21 17:15:25 +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 Split repoclosure into separate phase 2020-04-14 09:25:57 +08:00
test_unified_isos.py Use pytest instead of nosetests 2020-07-29 14:57:16 +08:00
test_util.py Do not skip symlinks when searching for old compose. 2020-03-06 09:03:10 +00:00
test_variant_wrapper.py Fix flake8 complaints - F401 2020-02-07 11:48:31 +08:00