lorax/tests/pylorax
Brian C. Lane 76d5b0afd3 lorax-composer: Return UnknownBlueprint errors when using deleted blueprints
Reading a blueprint wasn't checking to see if it had been deleted so it
was returning the most recent commit before it had been deleted. This
allowed things like starting a compose with a blueprint that technically
doesn't exist.

One exception to this is the /changes/ route, it must be available so
that you can use the commit hash to undo a delete.

This also adds tests for the various operations.

(cherry picked from commit b399076cb0)

Resolves: rhbz#1682992
2019-05-16 08:59:08 -07:00
..
blueprints lorax-composer: Add the ability to append to the kernel command-line 2019-04-01 15:37:35 -07:00
repos Update the projects tests to use DNF Repo object 2018-12-07 11:52:22 -08:00
results Support loading groups from the kickstart template files. 2018-07-19 11:00:46 -07:00
source Fix DNF related issues with source selection 2018-06-04 15:47:38 -07:00
test_bisect.py lorax-composer: Handle packages with multiple builds 2018-12-07 11:54:02 -08:00
test_buildstamp.py Write the --variant string to .buildstamp as 'Variant=' 2018-01-17 09:38:16 -08:00
test_compose.py lorax-composer: Add the ability to append to the kernel command-line 2019-04-01 15:37:35 -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 Revert "lorax-composer: Check for CDN only repos" 2019-04-08 12:38:39 -07:00
test_projects.py Adjust test_drtfr_gpgkey to pass on Fedora 28 and RHEL 8 2018-12-07 11:52:22 -08:00
test_queue.py lorax-composer: Check the queue and results at startup 2018-12-06 15:27:48 -08:00
test_recipes.py Remove unneeded else from for/else loop. It confuses pylint 2019-01-09 16:26:35 -08:00
test_server.py lorax-composer: Return UnknownBlueprint errors when using deleted blueprints 2019-05-16 08:59:08 -07:00
test_timestamp.py Add a test for the pylorax.api.timestamp functions 2018-08-07 12:12:17 -07:00
test_workspace.py Fix tests related to blueprint name changes 2018-08-22 10:22:36 -07:00