From bde6efb65c8a7b2e0bc08e6d9f187e5654cfba22 Mon Sep 17 00:00:00 2001 From: Andres Rodriguez Date: Wed, 22 May 2013 14:03:50 -0400 Subject: [PATCH] Set the correct location for the tests. Change-Id: I4d6247319d393809b65d05ebbd10620fe224a281 --- .testr.conf | 2 +- run_tests.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.testr.conf b/.testr.conf index 2109af6ce..f5be871ff 100644 --- a/.testr.conf +++ b/.testr.conf @@ -1,4 +1,4 @@ [DEFAULT] -test_command=OS_STDOUT_CAPTURE=1 OS_STDERR_CAPTURE=1 ${PYTHON:-python} -m subunit.run discover -t ./ ./tests $LISTOPT $IDOPTION +test_command=OS_STDOUT_CAPTURE=1 OS_STDERR_CAPTURE=1 ${PYTHON:-python} -m subunit.run discover -t ./ ./cinderclient/tests $LISTOPT $IDOPTION test_id_option=--load-list $IDFILE test_list_option=--list diff --git a/run_tests.sh b/run_tests.sh index ef018f365..bbee9fcfc 100755 --- a/run_tests.sh +++ b/run_tests.sh @@ -79,7 +79,7 @@ function run_tests { if [ "$testropts" = "" ] && [ "$testrargs" = "" ]; then # Default to running all tests if specific test is not # provided. - testrargs="discover ./tests" + testrargs="discover ./cinderclient/tests" fi ${wrapper} python -m testtools.run $testropts $testrargs