python-keystoneclient==1.6.0
cloudify==3.2.1
virtualenv==1.11.4
-pexpect==4.0
\ No newline at end of file
+pexpect==4.0
+requests==2.8.0
+robotframework==2.9.1
+robotframework-requests==0.3.8
+robotframework-sshlibrary==2.1.1
+++ /dev/null
-#!/bin/bash -e
-
-# Script checks that venv exists. If it doesn't it will be created
-# It requires python2.7 and virtualenv packages installed
-
-BASEDIR=`dirname $0`
-
-function venv_install() {
- if command -v virtualenv-2.7; then
- virtualenv-2.7 $1
- elif command -v virtualenv2; then
- virtualenv2 $1
- elif command -v virtualenv; then
- virtualenv $1
- else
- echo Cannot find virtualenv command.
- return 1
- fi
-}
-
-# exit when something goes wrong during venv install
-set -e
-if [ ! -d "$BASEDIR/venv" ]; then
- venv_install $BASEDIR/venv
- echo "Virtualenv created."
-fi
-
-if [ ! -f "$BASEDIR/venv/updated" -o $BASEDIR/requirements.pip -nt $BASEDIR/venv/updated ]; then
- source $BASEDIR/venv/bin/activate
- pip install -r $BASEDIR/requirements.pip
- touch $BASEDIR/venv/updated
- echo "Requirements installed."
- deactivate
-fi
-set +e
+++ /dev/null
-requests
-robotframework
-robotframework-requests
-robotframework-sshlibrary
#!/bin/bash
-# Script requires that test environment is created already
# it includes python2.7 virtual env with robot packages and git
-# use create_env.sh script for creating python virtualenv
BASEDIR=`dirname $0`
# Colors
sed -i "/^Documentation.*/a Suite Teardown Stop Suite" ${BASEDIR}/integration/test/csit/suites/openstack/neutron/__init__.robot
sed -i "/^Documentation.*/a Suite Setup Start Suite" ${BASEDIR}/integration/test/csit/suites/openstack/neutron/__init__.robot
-if source $BASEDIR/venv/bin/activate; then
- echo -e "${green}Python virtualenv activated.${nc}"
-else
- echo -e "${red}ERROR${nc}"
- exit 1
-fi
# add custom tests to suite, if there are more custom tests needed this will be reworked
echo -e "${green}Copy custom tests to suite.${nc}"
echo -e "${green}Final report is located:${nc}"
rebot $rebot_params
-
-# deactivate venv
-echo -e "${green}Deactivate venv.${nc}"
-deactivate