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

Resolves: rhbz#1683442
2019-04-22 10:17:25 -07:00
..
blueprints Add 'example' to the example blueprint names 2018-08-21 14:02:30 -07:00
repos Remove duplicate repositories from the sources list 2019-02-21 09:19:30 -08:00
results Add group-based tests. 2018-07-12 17:31:56 -04:00
source Fix DNF related issues with source selection 2018-06-11 16:54:59 -07:00
test_bisect.py lorax-composer: Handle packages with multiple builds 2018-12-07 14:10:54 -08:00
test_buildstamp.py Fix mocking the built-in open function for Python2 2018-06-11 16:54:57 -07:00
test_compose.py Add tests for setting root password and ssh key with blueprints 2018-09-28 15:21:11 -07:00
test_crossdomain.py Disable pylint errors with Flask and gevent 2018-12-20 10:55:04 +02:00
test_projects.py Add tests for metapackages and package name globs 2019-01-24 09:57:08 -08:00
test_queue.py lorax-composer: Check the queue and results at startup 2018-12-07 13:48:10 -08:00
test_recipes.py Remove unneeded else from for/else loop. It confuses pylint 2019-02-19 14:13:32 -08:00
test_server.py lorax-composer: Return UnknownBlueprint errors when using deleted blueprints 2019-04-22 10:17:25 -07:00
test_timestamp.py Add a test for the pylorax.api.timestamp functions 2018-08-07 10:51:06 -07:00
test_workspace.py Fix tests related to blueprint name changes 2018-08-21 15:08:58 -07:00
test_yumbase.py Fix handling bad source repos and add a test 2018-06-11 16:54:59 -07:00