#!/bin/bash

source ./run_tests_common.sh

# Add tempest source tree to PYTHONPATH
export PYTHONPATH=$PYTHONPATH:$TEMPEST_DIR

#installing requirements for tempest
pip install -r $TEMPEST_DIR/requirements.txt

#installing test requirements for murano
pip install -r ../test-requirements.txt

nosetests -sv ../murano/tests/functional/integration/test_policy_enf.py ../murano/tests/functional/integration/test_mistral.py

#!/bin/bash

source ./run_tests_common.sh

# Add tempest source tree to PYTHONPATH
export PYTHONPATH=$PYTHONPATH:$TEMPEST_DIR

# Add tempest config file path to env variables
export TEMPEST_CONFIG_DIR=${TEMPEST_CONFIG_DIR:-$TEMPEST_DIR/etc/}

#installing requirements for tempest
pip install -r $TEMPEST_DIR/requirements.txt

#installing test requirements for murano
pip install -r ../test-requirements.txt

nosetests -sv ../murano/tests/functional/integration/test_policy_enf.py ../murano/tests/functional/integration/test_mistral.py

Adjust tempest config file path
Adjust tempest config file path

- Add environment variable TEMPEST_CONFIG_DIR based on TEMPEST_DIR
for congress and mistral gate integration

Change-Id: Ifbed19cfb44146c3aef090bc64c15820f4374f3a
Closes-Bug: #1508242
