lorax/tests/pylorax
Brian C. Lane ed611933cb lorax-composer: Handle packages with multiple builds
When the repository has multiple arches, eg. i686 and x86_64, it should
add a new entry to the project's builds list, not create a new project
in the list.

This handles that by adding a modified insort_left function and
examining the packages returned from dnf to make sure they aren't
already listed in the results. It also handles adding them in sorted
order so that no further sorting needs to be done on the results.

Resolves: rhbz#1656642
(cherry picked from commit d18934775c)
2018-12-06 16:07:22 -08:00
..
blueprints Adjust tmux version in the tests to 2.8 2018-11-29 12:18:41 -08:00
repos Add support for user defined package sources API 2018-06-04 15:47:00 -07:00
results Adjust tmux version in the tests to 2.8 2018-11-29 12:18:41 -08:00
source Fix DNF related issues with source selection 2018-06-04 15:47:38 -07:00
templates Add tests for ltmpl.py 2018-10-29 13:53:59 -07:00
test_bisect.py lorax-composer: Handle packages with multiple builds 2018-12-06 16:07:22 -08:00
test_buildstamp.py Write the --variant string to .buildstamp as 'Variant=' 2018-01-17 09:38:16 -08:00
test_compose.py Write a rootpw line if no root customizations in the blueprint 2018-10-09 15:15:42 -07:00
test_crossdomain.py Use 2to3 to convert the python2 lorax-composer code to python3 2018-05-17 10:34:34 -07:00
test_dnfbase.py Update the tests for new make_dnf_dir arguments. 2018-10-10 14:25:51 -07:00
test_ltmpl.py Add tests for ltmpl.py 2018-10-29 13:53:59 -07:00
test_projects.py Update the tests for new make_dnf_dir arguments. 2018-10-10 14:25:51 -07:00
test_queue.py lorax-composer: Check the queue and results at startup 2018-12-06 15:26:59 -08:00
test_recipes.py Fix tests related to blueprint name changes 2018-08-23 13:46:39 -07:00
test_server.py Adjust tmux version in the tests to 2.8 2018-11-29 12:18:41 -08:00
test_timestamp.py Add a test for the pylorax.api.timestamp functions 2018-08-07 08:40:21 -07:00
test_workspace.py Fix tests related to blueprint name changes 2018-08-23 13:46:39 -07:00