python-swiftclient/.unittests
Christian Schwede eb94ac076d Add functional tests for python-swiftclient
Coverage for swiftclient.client is 71% with these tests.

Unit tests have been moved into another subdirectory
to separate them from functional tests.

Change-Id: Ib8c4d78f7169cee893f82906f6388a5b06c45602
2014-05-05 11:53:37 +02:00

9 lines
132 B
Bash
Executable File

#!/bin/bash
set -e
python setup.py testr --coverage --testr-args="tests.unit"
RET=$?
coverage report -m
rm -f .coverage
exit $RET