From 1caed4c6a6452f659cab9fd480022a911da54311 Mon Sep 17 00:00:00 2001 From: Steve McLellan Date: Mon, 7 Apr 2014 11:11:58 -0500 Subject: [PATCH] Correct --unittest-only test behavior run_tests.sh --unittest-only current issues a warning that `muranoapi/tests/functional` can't be found, and tries to run the tests in functionaltests, which require tempest and a running server. Changes run_tests.sh to exclude `functionaltests` instead. Change-Id: I86bca560ddf7906d43c0fcf80dd331163a22ea3e Closes-Bug: 1303885 --- run_tests.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run_tests.sh b/run_tests.sh index b4834c1e7..5963ce8a0 100755 --- a/run_tests.sh +++ b/run_tests.sh @@ -28,7 +28,7 @@ function process_option { -P|--no-pep8) let no_pep8=1;; -f|--force) let force=1;; -u|--update) update=1;; - --unittests-only) noseopts="$noseopts --exclude-dir=muranoapi/tests/functional";; + --unittests-only) noseopts="$noseopts --exclude-dir=functionaltests";; -c|--coverage) noseopts="$noseopts --with-coverage --cover-package=muranoapi";; -*) noseopts="$noseopts $1";; *) noseargs="$noseargs $1"