summaryrefslogtreecommitdiff
path: root/.unittests
diff options
context:
space:
mode:
authorChmouel Boudjnah <chmouel@chmouel.com>2012-05-08 15:18:01 +0100
committerChmouel Boudjnah <chmouel@chmouel.com>2012-05-08 15:18:01 +0100
commitcb07a50900dd69f049802698018ae051b918d518 (patch)
treea5774c0a89170a665c0c346a215bb3871c8e9f4b /.unittests
parent1b6db9eb42cf1f030547221e33ab3bce720e120a (diff)
downloadpython-swiftclient-cb07a50900dd69f049802698018ae051b918d518.tar.gz
Import script from swift to run unittests.
Diffstat (limited to '.unittests')
-rwxr-xr-x.unittests7
1 files changed, 7 insertions, 0 deletions
diff --git a/.unittests b/.unittests
new file mode 100755
index 0000000..b977da4
--- /dev/null
+++ b/.unittests
@@ -0,0 +1,7 @@
+#!/bin/bash
+set -e
+
+nosetests --exe --with-coverage --cover-package swiftclient --cover-erase $@
+rvalue=$?
+rm -f .coverage
+exit $rvalue