9382ab97f138c38c61b7c4cfa459832da04bdcc2
Ensured that no dangling mocks exist in the module by having each test class extend trove_testtools.TestCase Ran 'tox -epy27' and fixed any detected problems. Change-Id: Ic26c4b1f173774f4280dc8a75b497d53bff5477a Partial-Bug: 1448273
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)
If you want to run only the tests in one file you can use testtools e.g.
Description