lorax/tests
Brian C. Lane b399076cb0 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#1683441
2019-03-27 10:54:47 -07:00
..
cli Update VMware datastore location to unblock tests 2019-03-21 11:27:12 -07:00
composer Add tests for limit=0 routes 2018-08-27 12:09:27 -07:00
lib Add pylint testing 2014-05-09 08:10:41 -07:00
pylint Add composer-cli and tests 2018-05-17 10:34:34 -07:00
pylorax lorax-composer: Return UnknownBlueprint errors when using deleted blueprints 2019-03-27 10:54:47 -07:00
__init__.py Add a test library 2018-08-07 12:12:17 -07:00
lib.py Add get_file_magic to tests/lib.py 2019-03-21 14:48:27 -07:00
test_cli.sh Allow overriding $CLI outside test scripts 2019-03-15 11:03:38 +02:00
testenv.sh Add pylint testing 2014-05-09 08:10:41 -07:00