Brian C. Lane
5b0d662007
Add basic API Server testing framework
2018-06-11 16:54:57 -07:00
Brian C. Lane
596f06d5c0
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.
2018-06-11 16:54:57 -07:00
Brian C. Lane
afdb320266
Add tests for the pylorax.api.recipes module
2018-06-11 16:54:57 -07:00
Alexander Todorov
d71290153e
Fix mocking the built-in open function for Python2
...
- fix import of mock module
- account for io.StringIO differences in Python 2
2018-06-11 16:54:57 -07:00
Alexander Todorov
e9e6e5701e
Misc pylint fixes that are reported usually once
2018-06-11 16:54:57 -07:00
Alexander Todorov
f405aedf6e
Add first unit test so we can start collecting coverage
2018-06-11 16:54:57 -07:00
Brian C. Lane
798023b199
Add pylint support to Makefile
...
This requires pylint and python-pocketlint from EPEL7 to work.
runpylint.py copied from upstream lorax.
2018-06-11 16:54:57 -07:00