Fix selenium imports on tests

tests require selenium to be installed, no matter if
integration tests or selenium tests are executed or
not.

Change-Id: Ie55d64c19b00b5b22f62948d4a24a3f322082b0c
Closes-Bug: #1289270
This commit is contained in:
Matthias Runge 2014-03-07 13:44:16 +01:00
parent dbd4b413f9
commit 0ed2b04186
1 changed files with 4 additions and 0 deletions

View File

@ -296,6 +296,10 @@ function run_tests {
export SKIP_UNITTESTS=1
fi
if [ $with_selenium -eq 0 -a $integration -eq 0 ]; then
testopts="$testopts --exclude-dir=openstack_dashboard/test/integration_tests"
fi
if [ -z "$testargs" ]; then
run_tests_all
else