deb-python-swiftclient/.functests
Chmouel Boudjnah bc84d7c3fb Fix running the unittests under py3
Since we added the tests.functional the py3 tests wasn't running
properly fixing it with some voodoo testr magic.

Change-Id: Id301adb32ba739f05591c4c352e0cf7d87576755
2014-05-09 09:29:04 +02:00

11 lines
176 B
Bash
Executable File

#!/bin/bash
set -e
export OS_TEST_PATH='tests.functional'
python setup.py testr --coverage --testr-args="--concurrency=1"
RET=$?
coverage report -m
rm -f .coverage
exit $RET