Remove nose wrapper script

Change-Id: I8e244aa892ac66dddd1be96369dfb0e90cc1543d
Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com>
This commit is contained in:
Doug Hellmann 2013-02-25 15:16:23 -05:00
parent 0ccc81e1c4
commit b4cd6f1fab
3 changed files with 3 additions and 16 deletions

View File

@ -5,7 +5,6 @@ cover-erase = true
cover-inclusive = true
verbosity=2
detailed-errors=1
where=tests
[build_sphinx]
all_files = 1

View File

@ -10,14 +10,15 @@ setenv = VIRTUAL_ENV={envdir}
NOSE_OPENSTACK_RED=0.05
NOSE_OPENSTACK_YELLOW=0.025
NOSE_OPENSTACK_SHOW_ELAPSED=1
commands = {toxinidir}/wrap_nosetests.sh --no-path-adjustment []
commands =
nosetests --no-path-adjustment --where=./tests
sitepackages = False
[testenv:livedb]
setenv=CEILOMETER_TEST_LIVE=1
[testenv:cover]
commands = {toxinidir}/wrap_nosetests.sh --no-path-adjustment --with-coverage --cover-erase --cover-package=ceilometer --cover-inclusive []
commands = nosetests --no-path-adjustment --with-coverage --cover-erase --cover-package=ceilometer --cover-inclusive []
[testenv:pep8]
deps = -r{toxinidir}/tools/test-requires

View File

@ -1,13 +0,0 @@
#!/bin/sh
# Wrap nosetests to force it to enable global site-packages until
# https://bitbucket.org/hpk42/tox/issue/32 is released.
set -x
rm -rf cover
if [ ! -z "$VIRTUAL_ENV" ]
then
rm -f $VIRTUAL_ENV/lib/python*/no-global-site-packages.txt
fi
nosetests "$@"