summaryrefslogtreecommitdiff
path: root/.testr.conf
diff options
context:
space:
mode:
authorChmouel Boudjnah <chmouel@enovance.com>2014-05-09 09:23:13 +0200
committerChmouel Boudjnah <chmouel@enovance.com>2014-05-09 09:29:04 +0200
commitbc84d7c3fb19138f9a5121876995061af720b028 (patch)
tree83f9b2ce0f2178d53fdfba660b3916c0facbbd2a /.testr.conf
parent3895d8535a6aa61a2560f5aadc5ffbd172f6a4c8 (diff)
downloadpython-swiftclient-bc84d7c3fb19138f9a5121876995061af720b028.tar.gz
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
Diffstat (limited to '.testr.conf')
-rw-r--r--.testr.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/.testr.conf b/.testr.conf
index 081907d..f3fca90 100644
--- a/.testr.conf
+++ b/.testr.conf
@@ -1,4 +1,4 @@
[DEFAULT]
-test_command=${PYTHON:-python} -m subunit.run discover -t ./ ./tests $LISTOPT $IDOPTION
+test_command=${PYTHON:-python} -m subunit.run discover -t ./ ${OS_TEST_PATH:-./tests/unit} $LISTOPT $IDOPTION
test_id_option=--load-list $IDFILE
test_list_option=--list