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.
Go to file
Mark McLoughlin 580c259b39 Make tox run doctests
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
2013-01-15 16:45:25 +00:00
bin reusable ZmqProxy service initialization 2013-01-13 05:39:55 +00:00
doc/source updating sphinx documentation 2012-11-18 18:19:50 -08:00
etc Move rootwrap code to openstack.common 2012-12-20 10:06:05 +01:00
openstack Make tox run doctests 2013-01-15 16:45:25 +00:00
pypi Add setup.py for registering namespace package 2012-10-30 15:16:30 -04:00
tests Rework zmq setup and cleanup 2013-01-15 16:42:25 +00:00
tools Implement importutils.try_import. 2013-01-14 12:54:43 -05:00
.gitignore updating sphinx documentation 2012-11-18 18:19:50 -08:00
.gitreview Correcting openstack-common mv to oslo-incubator. 2012-11-11 23:44:12 +00:00
.mailmap Use pep8 v1.3.3 2012-09-13 06:07:49 +08:00
HACKING.rst Fix ordering in HACKING.rst 2012-04-26 15:13:55 -07:00
MANIFEST.in Simplify version processing. 2013-01-11 17:34:13 -08:00
README Updated README with instructions. 2012-01-06 10:19:25 -08:00
setup.cfg Fix up openstack-common build. 2012-07-02 17:19:06 -04:00
setup.py Simplify version processing. 2013-01-11 17:34:13 -08:00
tox.ini Make tox run doctests 2013-01-15 16:45:25 +00:00
update.py Allow update.py copy config files and binaries 2012-12-20 10:29:26 +00:00
update.sh Add update.sh to avoid import conflicts 2012-06-29 18:25:52 +01:00

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