OpenStack Database As A Service (Trove)
167c0ceb7a
Reasons: - F403 is disabled. - code contains "import *" statements. Changes: - Updates tox.ini to enable F403 rules. - Updates code for F403 violation. Change-Id: If932a910c073ae7bffb74908495f35dbc4f4d1f9 Closes-Bug: #1264724 |
||
---|---|---|
bin | ||
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