
One unit tests is still trying to execute the actual backup command instead of the mocked backup command. This is causing an issue on the Jenkins slave where it is trying to run as sudo (and failing). Fixed the test to use a mock runner, and not try to run innobackupex. Change-Id: Ifff7945be158a08167cdd282ed8eb18952224eee Closes-bug: 1291516
Trove
Trove is Database as a Service for Open Stack.
Usage for integration testing
If you'd like to start up a fake Trove API daemon for integration testing with your own tool, run:
Stop the server with:
Tests
To run all tests and PEP8, run tox, like so:
To run just the tests for Python 2.7, run:
To run just PEP8, run:
To generate a coverage report,run:
(note: on some boxes, the results may not be accurate unless you run it twice)
Description
Languages
Python
95%
Shell
4.9%