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:
parent
dbd4b413f9
commit
0ed2b04186
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user