lorax/tests/pylorax
Brian C. Lane 693dc9a6f6 Fix DNF related issues with source selection
DNF Repo.dump() function cannot be used as a .repo file for dnf due to
it writing baseurl and gpgkey as a list instead of a string. Add a new
function to write this in the correct format, and limited to the fields
we use.

Add a test for the new function.

Fix /projects/source/info to return an error 400 if a nonexistant TOML
source is requested. If JSON is used the error is part of the standard
response.

Update test_server.py to check for the correct error code.

(cherry picked from commit afa89ea657)
2018-06-04 15:47:38 -07:00
..
blueprints Update atlas blueprint 2018-05-21 15:41:45 -07:00
repos Add support for user defined package sources API 2018-06-04 15:47:00 -07:00
results Add blueprint customization support for hostname and ssh key 2018-05-17 10:34:34 -07:00
source Fix DNF related issues with source selection 2018-06-04 15:47:38 -07:00
test_buildstamp.py Write the --variant string to .buildstamp as 'Variant=' 2018-01-17 09:38:16 -08:00
test_compose.py Skip creating groups with the same name as a user 2018-05-17 10:34: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 Speed up test_dnfbase.py 2018-06-04 15:47:26 -07:00
test_projects.py Fix DNF related issues with source selection 2018-06-04 15:47:38 -07:00
test_recipes.py Add blueprint customization support for hostname and ssh key 2018-05-17 10:34:34 -07:00
test_server.py Fix DNF related issues with source selection 2018-06-04 15:47:38 -07:00
test_workspace.py Add the tests from lorax-composer branch 2018-05-17 10:34:34 -07:00