deb-ceilometer/run_tests.sh
Doug Hellmann 0767165ebc refactor meter event publishing code
There were two places that had all of the logic for constructing
a metering message and sending it to the appropriate exchanges.
This changeset combines those into one function and invokes
the function from the old locations.

Update tox.ini to work around an issue with providing access to
the global site-packages (https://bitbucket.org/hpk42/tox/issue/32).

Change-Id: If2b01edbc0c372907a04baf69f1137575b6921bd
2012-06-08 14:38:15 -04:00

13 lines
258 B
Bash
Executable File

#!/bin/sh
# Wrap tox 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 "$@"