OpenStack Database As A Service (Trove)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Amrith Kumar 8b02a1eae3 Replace assertEqual(None, *) with assertIsNone in tests 7 years ago
apidocs Merge "Word spellings have been corrected" 7 years ago
contrib Fixes hacking rules 8 years ago
devstack Merge "Enable all trove services by default" 7 years ago
doc Fix the bug of "Error spelling of 'AMPQ'" 7 years ago
etc Add Redis backup/restore functionality 7 years ago
tools Remove Python 2.6 classifier 8 years ago
trove Replace assertEqual(None, *) with assertIsNone in tests 7 years ago
.coveragerc Rename from reddwarf to trove. 10 years ago
.gitignore Add .eggs/ to .gitignore 7 years ago
.gitreview Renamed repos to trove. 10 years ago
.testr.conf Rename from reddwarf to trove. 10 years ago
CONTRIBUTING.rst Update CONTRIBUTING.RST file 8 years ago
LICENSE Add Apache 2.0 LICENSE file. 10 years ago
MANIFEST.in Package AUTHORS and ChangeLog file 10 years ago
README.rst Fix description for "Inapt spelling of a word" 7 years ago
babel.cfg Setup trove for translation 9 years ago
doc-test.conf Update database-api to follow OpenStack conventions 9 years ago
generate_examples.py Fixes hacking rules 8 years ago
requirements.txt Updated from global requirements 7 years ago
run_tests.py Remove openstack.common package 7 years ago
run_tests.sh Remove extraneous vim configuration comments 9 years ago
setup.cfg Open Mitaka Development 7 years ago
setup.py Updated from global requirements 7 years ago
test-requirements.txt Removing unused dependency: discover 7 years ago
tox.ini oslo.utils 2.6.0 causing tox test to hang 7 years ago

README.rst

Trove

Trove is Database as a Service for OpenStack.

Usage for integration testing

If you'd like to start up a fake Trove API daemon for integration testing with your own tool, run:

$ ./tools/start-fake-mode.sh

Stop the server with:

$ ./tools/stop-fake-mode.sh

Tests

To run all tests and PEP8, run tox, like so:

$ tox

To run just the tests for Python 2.7, run:

$ tox -epy27

To run just PEP8, run:

$ tox -epep8

To generate a coverage report,run:

$ tox -ecover

(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.

$ python -m testtools.run trove.tests.unittests.python.module.path