lorax/tests/pylorax
Brian C. Lane ade8945da3 tests: Add tests for new upload routes
This tests the routes for saving a profile, listing profiles, deleting
profiles, as well as composing with upload.

The composes run fake composes with upload data, one selects a profile
the other passes in the settings. No actual upload is done, but it tests
that the info, log, and cancel routes work.

This also updates the test setup to copy over the share/lifted directory
so that the providers are available to the tests.
2019-10-16 09:17:53 -07:00
..
blueprints tests: Drop tito from the Dockerfile.test 2019-09-03 11:02:52 -07:00
repos Only use repos with valid urls for test_server.py 2019-08-05 14:48:23 -07:00
results tests: Update custom-base with customizations 2019-06-13 14:16:48 -07:00
source lorax-composer: Add support for dnf variables to repo sources 2019-08-20 16:26:03 -07:00
templates pylorax.ltmpl: Add a test for missing quotes 2019-03-26 13:30:25 -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 lifted directories should be under share_dir and lib_dir 2019-10-16 09:17:53 -07:00
test_creator.py livemedia-creator: Use --compress-arg in mksquashfs 2019-08-05 14:49:25 -07:00
test_discinfo.py tests: Add discinfo test 2018-11-12 11:13:37 -08:00
test_dnfbase.py lifted directories should be under share_dir and lib_dir 2019-10-16 09:17:53 -07:00
test_executils.py tests: Add executils test 2018-11-12 11:13:37 -08:00
test_gitrpm.py Assert that RuntimeErrors have correct messages 2019-06-28 08:55:36 -07:00
test_imgutils.py tests: Use server-2.repo instead of single.repo 2019-08-20 17:23:08 -07:00
test_ltmpl.py tests: Cleanup on failure of in_tempdir 2019-04-15 14:06:48 -07:00
test_projects.py lifted directories should be under share_dir and lib_dir 2019-10-16 09:17:53 -07:00
test_queue.py lifted directories should be under share_dir and lib_dir 2019-10-16 09:17:53 -07:00
test_recipes.py lorax-composer: Handle RecipeError in commit_recipe_directory 2019-10-04 08:07:36 -07:00
test_server.py tests: Add tests for new upload routes 2019-10-16 09:17:53 -07:00
test_sysutils.py Use binary mode to tail the file 2019-07-11 15:16:41 -07: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