Commit Graph

8 Commits

Author SHA1 Message Date
Brian C. Lane
ff47432f10 Move the git repo into a subdirectory
And fix the import of recipes (needs to have full path passed in).
2017-11-07 17:11:17 -08:00
Brian C. Lane
e4695bd580 Add basic API Server testing framework 2017-11-07 12:00:35 -08:00
Brian C. Lane
d2fe65c80c Fix list_commits sort order.
It appears that with libgit2 v0.24.6 reverse causes it to list them
newest first. In 0.25.1 it lists them oldest first. On both versions
just using SortMode.TIME gives the desired result of oldest first.
2017-10-25 13:31:35 -07:00
Brian C. Lane
68939a753a Add tests for the pylorax.api.recipes module 2017-10-25 13:31:35 -07:00
Alexander Todorov
806aad3dff Fix mocking the built-in open function for Python2
- fix import of mock module
- account for io.StringIO differences in Python 2
2017-10-24 22:59:21 +03:00
Alexander Todorov
24e0784256 Misc pylint fixes that are reported usually once 2017-10-13 18:58:40 +03:00
Alexander Todorov
66e8861de7 Add first unit test so we can start collecting coverage 2017-10-13 18:58:31 +03:00
Brian C. Lane
2dc38b7a77 Add pylint support to Makefile
This requires pylint and python-pocketlint from EPEL7 to work.
runpylint.py copied from upstream lorax.
2017-10-04 12:11:10 -07:00