summaryrefslogtreecommitdiff
path: root/.functests
diff options
context:
space:
mode:
authorChristian Schwede <christian.schwede@enovance.com>2014-02-25 21:42:17 +0000
committerChmouel Boudjnah <chmouel@enovance.com>2014-05-05 11:53:37 +0200
commiteb94ac076dec7e08f4e6c4c55d7c6f60b1b1cbfd (patch)
tree07a9ccd6ff5c1382e13df5259940c0b2cd4a9c03 /.functests
parent9ff3bad4e22fbd561d9253af2b6e38580124b450 (diff)
downloadpython-swiftclient-eb94ac076dec7e08f4e6c4c55d7c6f60b1b1cbfd.tar.gz
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
Diffstat (limited to '.functests')
-rwxr-xr-x.functests8
1 files changed, 8 insertions, 0 deletions
diff --git a/.functests b/.functests
new file mode 100755
index 0000000..05d9002
--- /dev/null
+++ b/.functests
@@ -0,0 +1,8 @@
+#!/bin/bash
+set -e
+
+python setup.py testr --coverage --testr-args="--concurrency=1 tests.functional"
+RET=$?
+coverage report -m
+rm -f .coverage
+exit $RET