Prepare devstack environment for executing tox -e neutron command

Change-Id: Ie0eaf408afced80abe96fdc9c1a42adbbed9a7f2
This commit is contained in:
Federico Ressi 2018-12-12 15:29:25 +01:00
parent c5abb62a4d
commit b7698bdaa8
1 changed files with 2 additions and 1 deletions

View File

@ -6,7 +6,7 @@ TOBIKO_PLUGIN_DIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
function tobiko_install {
echo_summary "Installing tobiko-plugin"
apt_get install python3-dev
setup_dev_lib "tobiko"
}
@ -36,6 +36,7 @@ function tobiko_test_config {
echo_summary "Apply changes to ${TOBIKO_CONF} file."
sudo mkdir -p $(dirname "${TOBIKO_CONF}")
sudo cp "${tobiko_conf}" "${TOBIKO_CONF}"
sudo chmod ugo+r "${TOBIKO_CONF}"
}