[Issue 943] Cleanup various API components, improve test coverage #944
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
Fixes #943
Time to review: 10 mins
Changes proposed
Improved test coverage from 84% to 92%
Add audit log tests to test coverage
Fix audit log tests to not try to commit code
Remove miscellaneous unused components in the Makefile
Adjust the location of several tests which were nested in a different directory than the rest of the tests.
Add various utility tests
Context for reviewers
This is a random assortment of little things. I started by fixing up some of the paths, and then noticed our test coverage was lower than I expected, so fixed the configurations / tests.
Most of these tests I didn't write here, and puled from other projects based on the template repo - need to backport those tests into the template as they shouldn't be missing there.
Additional information
make test-coverage
will run the tests with branch coverage, then runningmake test-coverage-report
will pull up an HTML page with the actual coverage metrics line-by-line which I used to figure out what wasn't being tested.