blob: e7787d9a0ac6f976b540d83d9a5d304f4f0fac58 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#!/bin/bash
# This script will be executed inside pre_test_hook function in devstack gate
set -x
HORIZON_CODE_DIR=/opt/stack/new/horizon
cd ${HORIZON_CODE_DIR}/openstack_dashboard/local/local_settings.d
mv _20_integration_tests_scaffolds.py.example _20_integration_tests_scaffolds.py
if [ "$1" == "deprecated" ] ; then
mv _2010_integration_tests_deprecated.py.example _2010_integration_tests_deprecated.py
cat > ${HORIZON_CODE_DIR}/openstack_dashboard/test/integration_tests/local-horizon.conf <<EOF
[image]
panel_type=legacy
[flavors]
panel_type=legacy
EOF
fi
|