5 # ******************************
6 # prepare the env for the tests
7 # ******************************
8 # Either Workspace is set (CI)
14 export CONFIG_REPORTING_YAML=./reporting.yaml
19 echo "Running unit tests..."
22 virtualenv $WORKSPACE/reporting_venv
23 source $WORKSPACE/reporting_venv/bin/activate
25 # install python packages
26 easy_install -U setuptools
28 pip install -r $WORKSPACE/docker/requirements.pip
29 pip install -e $WORKSPACE
31 python $WORKSPACE/setup.py develop
34 # TODO: remove cover-erase
35 # To be deleted when all functest packages will be listed
36 nosetests --with-xunit \
37 --cover-package=utils \