Set the correct location for the tests.

Change-Id: I4d6247319d393809b65d05ebbd10620fe224a281
This commit is contained in:
Andres Rodriguez 2013-05-22 14:03:50 -04:00
parent bf1ce848e6
commit bde6efb65c
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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