lorax/tests/pylorax
Brian C. Lane d3a9ec3002 Return the commit id for the recipe being read
This adds returning the commit id from read_commit, and a new function
read_recipe_and_id() that returns the commit id and the recipe in a
tuple.

If the commit is passed in, it is used as is. If no commit is passed in
it finds the most recent commit for the file on the selected branch and
returns that.

Missing recipes now raise a RecipeError with an informative message.
eg. "No commits for missing-recipe.toml on the master branch."
2018-06-11 16:54:58 -07:00
..
recipes Add tests for the pylorax.api.recipes module 2018-06-11 16:54:57 -07:00
results Fix depsolving empty recipes 2018-06-11 16:54:58 -07:00
test_buildstamp.py Fix mocking the built-in open function for Python2 2018-06-11 16:54:57 -07:00
test_projects.py Fix yum config directory creation for projects and server tests 2018-06-11 16:54:58 -07:00
test_recipes.py Return the commit id for the recipe being read 2018-06-11 16:54:58 -07:00
test_server.py Return the commit id for the recipe being read 2018-06-11 16:54:58 -07:00
test_workspace.py Add workspace module and tests 2018-06-11 16:54:57 -07:00