RETIRED, Part of OpenStack's Oslo project. New Oslo APIs go through an incubation phase in this repository before being released as part of a proper Python library.
580c259b39
Use 'nosetests --with-doctests' to run any doctests found. We currently only use doctests in a handful of places, but we may as well run them to ensure they work. Make the cfg doctests avoid using the global CONF since we would need to reset its state between each doctest. Fix the cliutils doctests to actually pass. Use 'nosetests --exclude-dir=tests/testmods' to avoid loading the modules from this dir while discovering doctests. The cfg unit tests rely on these modules not having been previously loaded. Change-Id: I19ad70767fa5c8352b994dc963b5d3a7c9d9eb95 |
||
---|---|---|
bin | ||
doc/source | ||
etc | ||
openstack | ||
pypi | ||
tests | ||
tools | ||
.gitignore | ||
.gitreview | ||
.mailmap | ||
HACKING.rst | ||
MANIFEST.in | ||
README | ||
setup.cfg | ||
setup.py | ||
tox.ini | ||
update.py | ||
update.sh |
Common code for Openstack Projects. To run tests in virtualenvs (preferred): sudo pip install tox tox To run tests in the current environment: sudo pip install -r tools/pip-requires nosetests