lorax/tests/pylorax
Brian C. Lane d32f477e0b 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.

Resolves: rhbz#1682113
2019-03-01 14:39:21 -08:00
..
blueprints Update bash to 5.0.* 2019-02-21 08:55:23 -08:00
repos Remove duplicate repositories from the sources list 2019-01-30 08:30:40 -08:00
results Update bash to 5.0.* 2019-02-21 08:55:23 -08:00
source Fix DNF related issues with source selection 2018-06-04 15:45:36 -07:00
templates Add tests for ltmpl.py 2018-10-29 13:55:19 -07:00
__init__.py Add tests for pylorax.imgutils 2018-11-12 11:13:37 -08:00
test_bisect.py lorax-composer: Handle packages with multiple builds 2018-12-06 15:48:58 -08:00
test_buildstamp.py Fixing bug where test did not try to import pylorax.version to check for version but automatically just checked for 'devel' causing test to fail when it should not have 2018-06-22 09:14:04 -07:00
test_compose.py Move the package requirements for live-iso setup out of the template 2019-02-25 13:49:12 -08:00
test_creator.py livemedia-creator: Add support for reqpart kickstart command 2019-02-25 13:49:12 -08:00
test_crossdomain.py Use 2to3 to convert the python2 lorax-composer code to python3 2018-05-14 13:00:14 -07:00
test_discinfo.py tests: Add discinfo test 2018-11-12 11:13:37 -08:00
test_dnfbase.py Update the tests for new make_dnf_dir arguments. 2018-10-12 11:59:32 -07:00
test_executils.py tests: Add executils test 2018-11-12 11:13:37 -08:00
test_imgutils.py Add tests for partitioned disk images 2018-11-12 11:13:37 -08:00
test_ltmpl.py tests: Fix makeFakeRPM calls 2019-02-21 10:10:11 -08:00
test_projects.py Update bash to 5.0.* 2019-02-21 08:55:23 -08:00
test_queue.py lorax-composer: Check the queue and results at startup 2018-12-06 15:13:28 -08:00
test_recipes.py Update bash to 5.0.* 2019-02-21 08:55:23 -08:00
test_server.py lorax-composer: Return UnknownBlueprint errors when using deleted blueprints 2019-03-01 14:39:21 -08:00
test_sysutils.py tests: Add sysutils test 2018-11-12 11:13:37 -08:00
test_timestamp.py Add a test for the pylorax.api.timestamp functions 2018-08-07 09:22:18 -07:00
test_treeinfo.py tests: Add treeinfo test 2018-11-12 11:13:37 -08:00
test_workspace.py Fix tests related to blueprint name changes 2018-08-23 13:32:26 -07:00