b345efa0be
In the process of implementing the first storage backend I realized that the proposed API was much more complicated than necessary. This changeset streamlines the API to make it easier to implement the plugins. - add ceilometer.storage.get_connection() convenience function - add get_volume_max() method - clean up query arg handling by using EventFilter - tighten up the DB query API by removing separate "by_user" and "by_project" methods Change-Id: Id4dffcc59dbee44fd4670bbe55b5e3380ea240e5 Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com>
14 lines
259 B
Bash
Executable File
14 lines
259 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 "$@"
|