OpenStack Database As A Service (Trove)
b06db4ab7f
PBR/Distribute generates binscripts for us. By moving the binscript code into the source tree, we can unit test it as well. Run setup.py develop to generate the binscripts for development use. implements blueprint entrypoints-for-binscripts Change-Id: I9ad4bb4ddc55f64bcd806c588a795cd6e0847aa9 |
||
---|---|---|
contrib | ||
doc | ||
etc | ||
rsdns | ||
tools | ||
trove | ||
.coveragerc | ||
.gitignore | ||
.gitreview | ||
.testr.conf | ||
LICENSE | ||
MANIFEST.in | ||
openstack-common.conf | ||
README.rst | ||
requirements.txt | ||
run_tests.py | ||
run_tests.sh | ||
setup.cfg | ||
setup.py | ||
test-requirements.txt | ||
tox.ini |
Trove
Trove is Database as a Service for Open Stack.
To run all tests and PEP8, run tox, like so: $ tox
To quickly run the tests for Python 2.7, run: $ tox -epy27
To quickly run 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'd like to start up a fake Trove API daemon for integration testing with your own tool, run: $ ./bin/start_server
Stop the server with: $ ./bin/stop_server