summaryrefslogtreecommitdiff
path: root/.testr.conf
diff options
context:
space:
mode:
authorSergey Kraynev <skraynev@mirantis.com>2015-05-05 10:53:27 -0400
committerSergey Kraynev <skraynev@mirantis.com>2015-05-12 03:44:29 -0400
commitc604876528588fb3f452de7258324e90da8ac202 (patch)
treef5768b7fa51ddb0307c7495878352da1261f343c /.testr.conf
parent0c808718bb86127a5afc5a26ae5562c3c3c88973 (diff)
downloadpython-heatclient-c604876528588fb3f452de7258324e90da8ac202.tar.gz
Add OS_TEST_PATH to testr
Change default test path to unit tests, and support setting $OS_TEST_PATH to specify a different path (such as functional). Partial-Bug: #1446442 Change-Id: I20461e1867f2c6e1e1432ab79fced82e8c0b4cc9
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 a2ff14b..6e77f6b 100644
--- a/.testr.conf
+++ b/.testr.conf
@@ -1,4 +1,4 @@
[DEFAULT]
-test_command=${PYTHON:-python} -m subunit.run discover -t ./ . $LISTOPT $IDOPTION
+test_command=${PYTHON:-python} -m subunit.run discover -t ./ ${OS_TEST_PATH:-./heatclient/tests/unit} $LISTOPT $IDOPTION
test_id_option=--load-list $IDFILE
test_list_option=--list