Allow running a subset of the integration tests

This follows the same syntax as a running a subset of the unit tests.

Change-Id: I36dfa8280b8fc63e7b650dfce6dbb0df26e73852
Closes-Bug: #1333774
This commit is contained in:
Julie Pichon 2014-06-24 16:53:27 +01:00
parent 8d54a24ecd
commit 84bff9724d
2 changed files with 10 additions and 1 deletions

@ -85,6 +85,11 @@ tests are not run by default.
$ ./run_tests.sh --integration
Like for the unit tests, you can choose to only run a subset. ::
$ ./run_tests.sh --integration openstack_dashboard.test.integration_tests.tests.test_login
Using Dashboard and Panel Templates
===================================

@ -362,7 +362,11 @@ function run_integration_tests {
export INTEGRATION_TESTS=1
echo "Running Horizon integration tests..."
${command_wrapper} nosetests openstack_dashboard/test/integration_tests/tests
if [ -z "$testargs" ]; then
${command_wrapper} nosetests openstack_dashboard/test/integration_tests/tests
else
${command_wrapper} nosetests $testargs
fi
exit 0
}