* changes:
Remove OpenROADM and TAPI models from project
Remove openroadm and tapi models building
Reintroduce karaf restart in tapi functional tests
Fix bad imports
Update transportpce-common-types model
Remove useless yang model from test-common
.DS_STORE
.metadata
ordmodels/src/main/java
+tests/allure-report/
tests/config.xml
tests/models
-<<<<<<< HEAD
+tests/test-requirements.txt
*.log
*.log.*
__pycache__
done
fi
if [ -z "$LAUNCHER" ]; then
- LAUNCHER="python3 -m pytest -q";
+ if [ -d "allure-report" ]; then
+ LAUNCHER="python3 -m pytest --alluredir=allure-report/ -q"
+ else
+ LAUNCHER="python3 -m pytest -q"
+ fi
fi
for script in $scriptlist; do
+## Caution this file is in .gitignore
pytest # MIT License
commands =
gitlint --config ../.gitlint
+
+[testenv:allure-report-init]
+basepython = python3
+deps = allure-pytest>=2.10.0
+# allure is under Apache License 2.0
+whitelist_externals =
+ mkdir
+ sed
+commands =
+ mkdir -p allure-report
+ sed -i_ '$a\allure-pytest # Apache License 2.0' ./test-requirements.txt
+
+
+[testenv:allure-report-serve]
+basepython = python3
+whitelist_externals =
+ allure
+commands =
+ allure serve "allure-report"