pungi/tests
Adam Williamson a1d559fb93 Correct fix for volume ID substition sorting by length
The previous attempt - caed78e - is not really correct. It sorts
the dict item tuples according to the alphabetical sort order of
the first item of each tuple (reversed). This will always work
when both substitutions *start* with the same characters, as in
the case of two strings that start with the same characters but
have a different length, the shorter one sorts alphabetically
first, and we reverse that. But it is not safe if the shorter
substitution doesn't start with the same characters, as in the
case I put in the tests: we should sort 'zzzaaaaaazzz' before
'aaaaaa' (and hence apply the 'zzzaaaaaazzz' substitution to a
volume ID that contains that string and not the 'aaaaaa' one),
but the previous commit did not.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2018-02-23 14:48:04 -08:00
..
data Support multiple sources in one variant 2018-02-01 14:31:09 +01:00
fixtures gather: Add tests for excluding packages from lookaside 2017-09-12 08:38:08 +02:00
__init__.py Fix test data, improve Makefile. 2015-06-25 08:02:57 -04:00
helpers.py Support multiple sources in one variant 2018-02-01 14:31:09 +01:00
test_arch.py Remove deprecated options 2017-11-16 11:12:34 +01:00
test_arguments.py Port to Python 3 2017-10-24 15:15:31 +02:00
test_buildinstall.py Remove strace from buildinstall runroot 2017-12-11 17:36:28 +01:00
test_checks.py Use modifyrepo_c if possible 2017-12-06 13:26:43 +01:00
test_compose.py Port to Python 3 2017-10-24 15:15:31 +02:00
test_compose.sh tests: Fix test_compose.sh paths 2017-08-10 09:28:36 +02:00
test_comps_wrapper.py Explicitly decode test files as UTF-8 2017-10-24 15:15:31 +02:00
test_config_validate_script.py Ostree can use pkgset repos 2018-02-08 15:23:15 +01:00
test_config.py Support multiple sources in one variant 2018-02-01 14:31:09 +01:00
test_createiso_phase.py Port to Python 3 2017-10-24 15:15:31 +02:00
test_createiso_script.py El-Torito boot information on s390x 2017-12-14 10:08:30 +01:00
test_createrepo_wrapper.py Remove executable permissions on test scripts 2016-10-25 10:42:16 +00:00
test_createrepophase.py remove remaining hard coded createrepo threads 2017-10-30 10:37:10 +01:00
test_extra_files_phase.py tests: Work with older unittest2 2017-10-30 09:16:18 +01:00
test_gather_method_deps.py gather: Clean up method deps 2017-04-11 15:46:34 +02:00
test_gather_method_nodeps.py gather: nodeps should take packages from comps groups 2017-07-11 10:21:13 +02:00
test_gather_phase.py Support multiple sources in one variant 2018-02-01 14:31:09 +01:00
test_gather.py Port to Python 3 2017-10-24 15:15:31 +02:00
test_imagebuildphase.py image-build: Drop suffixes from configuration 2017-11-01 12:47:36 +01:00
test_imagechecksumphase.py Add directory name for checksum file 2017-10-05 16:08:27 +02:00
test_initphase.py Port to Python 3 2017-10-24 15:15:31 +02:00
test_iso_wrapper.py Fall back to mount if guestmount is not available 2018-01-02 17:13:47 +01:00
test_koji_wrapper.py Remove strace from buildinstall runroot 2017-12-11 17:36:28 +01:00
test_linker.py Remove executable permissions on test scripts 2016-10-25 10:42:16 +00:00
test_liveimagesphase.py live-images: Honor global settings for target 2017-10-09 13:46:54 +02:00
test_livemediaphase.py Remove deprecated options 2017-11-16 11:12:34 +01:00
test_lorax_wrapper.py Port to Python 3 2017-10-24 15:15:31 +02:00
test_media_split.py Include phase name in log for some phases 2016-11-23 16:47:22 +08:00
test_metadata.py extra-files: Allow configuring used checksums 2017-04-20 09:28:09 +02:00
test_notifier.py notification: Add more info into the messages 2017-10-31 11:11:04 +01:00
test_osbs_phase.py tests: Work with older unittest2 2017-10-30 09:16:18 +01:00
test_ostree_installer_phase.py ostree-installer: Clean up output dir 2017-06-15 08:17:07 +02:00
test_ostree_phase.py Ostree can use pkgset repos 2018-02-08 15:23:15 +01:00
test_ostree_script.py ostree/utils: Drop timestamps from generated repo names - tests 2018-01-17 16:48:22 +01:00
test_patch_iso.py Use universal_newlines when running other commands 2017-10-24 15:15:31 +02:00
test_pathmatch.py Remove executable permissions on test scripts 2016-10-25 10:42:16 +00:00
test_phase_base.py tests: use unittest2 if available 2017-06-13 08:55:41 +02:00
test_pkgset_pkgsets.py Fail early if input packages are unsigned 2018-02-13 12:35:55 +01:00
test_pkgset_source_koji.py Support multiple sources in one variant 2018-02-01 14:31:09 +01:00
test_repoclosure_wrapper.py repoclosure: Don't run build deps check 2017-01-30 10:16:03 +01:00
test_scm.py tests: Work with older unittest2 2017-10-30 09:16:18 +01:00
test_test_phase.py Use dnf backend for repoclosure on PY3 2017-12-06 13:26:43 +01:00
test_unified_isos.py tests: Work with older unittest2 2017-10-30 09:16:18 +01:00
test_util.py Correct fix for volume ID substition sorting by length 2018-02-23 14:48:04 -08:00