
This charm enables the deployment of the cloudkitty service in the Openstack environment, cloudkitty service provides rating as a service based on metrics, it handles field mapping rules to calculate costs and generate reports for the end-user. Cloudkitty charm can relate to mysql, rabbitmq-server, gnocchi and keystone. func-test-pr: https://github.com/openstack-charmers/zaza-openstack-tests/pull/929 Change-Id: I35353c24c779b226d5edd2641a3177258849122b
16 lines
281 B
Bash
Executable File
16 lines
281 B
Bash
Executable File
#!/bin/sh -e
|
|
|
|
if [ -z "$VIRTUAL_ENV" -a -d venv/ ]; then
|
|
. venv/bin/activate
|
|
fi
|
|
|
|
if [ -z "$PYTHONPATH" ]; then
|
|
export PYTHONPATH="lib:src"
|
|
else
|
|
export PYTHONPATH="lib:src:$PYTHONPATH"
|
|
fi
|
|
|
|
flake8
|
|
coverage run --branch --source=src -m unittest -v "$@"
|
|
coverage report -m
|