summaryrefslogtreecommitdiffstats
path: root/openstack/common/plugin/callbackplugin.py
diff options
context:
space:
mode:
authorMark McLoughlin <markmc@redhat.com>2013-01-14 08:38:17 +0000
committerMark McLoughlin <markmc@redhat.com>2013-01-15 16:45:25 +0000
commit580c259b39fa5e639d3fbe00dc24da09c11d282a (patch)
tree3575cb70dbb1a433ad375de27b188552e352fbbd /openstack/common/plugin/callbackplugin.py
parent2f93ad27a25e10df47a4181938e3a183fc899954 (diff)
downloadoslo-580c259b39fa5e639d3fbe00dc24da09c11d282a.tar.gz
oslo-580c259b39fa5e639d3fbe00dc24da09c11d282a.tar.xz
oslo-580c259b39fa5e639d3fbe00dc24da09c11d282a.zip
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
Diffstat (limited to 'openstack/common/plugin/callbackplugin.py')
0 files changed, 0 insertions, 0 deletions