Change-Id: Icb6ecc7075e0f5ad178c510762596048e3539290
flask
requests
pytest
-requests_mock
\ No newline at end of file
+pytest-cov
+requests_mock
#!/usr/bin/env bash
cd /data
-#pip3 install -r tests/python_unit/requirements.txt --upgrade
-#pip3 install .
+pip3 install -r tests/unit_python/requirements.txt --upgrade
+pip3 install .
if [ -f /data/tests/unit_python/run_tests.sh ];
then
fi
cd /data/tests/unit_python
-pytest -s .
+pytest --cov --cov-report term --cov-report html --cov-report xml .
-# Copyright 2015 Open Platform for NFV Project, Inc. and its contributors
+# Copyright 2018 Open Platform for NFV Project, Inc. and its contributors
# This software is distributed under the terms and conditions of the 'Apache-2.0'
# license which can be found in the file 'LICENSE' in this package distribution
# or at 'http://www.apache.org/licenses/LICENSE-2.0'.
#!/usr/bin/env bash
-echo "starting Moon Functional Tests"
+echo "starting Moon Unit Tests"
cd python_moonutilities
docker run --rm --volume $(pwd):/data wukongsun/moon_python_unit_test:latest