deb-murano/functionaltests/run_tests.sh
Victor Ryzhenkin 11f0aeeb5e Remove tethering between func and api tests and use venv for tempest
In this patch removed tethering between functional tests and api tests
which blocks test runs when tempest installation uses venv.
Also, in this patch implemented tempest venv using for main gate job,
which gave to main gate a beautiful stability against version conflicts.

Change-Id: I577399552341f4b8085637e5dab975ccdd28cd2b
Closes-Bug: #1476759
2015-09-01 22:03:20 +03:00

16 lines
280 B
Bash
Executable File

#!/bin/bash
source ./run_tests_common.sh
# Using .venv for tempest installation
pushd $TEMPEST_DIR
python tools/install_venv.py
source .venv/bin/activate
pip install nose
nosetests -sv /opt/stack/new/murano/murano/tests/functional/api/v1
RETVAL=$?
deactivate
popd
exit $RETVAL