aboutsummaryrefslogtreecommitdiffstats
path: root/tox.ini
diff options
context:
space:
mode:
authordhebeha <dhebeha.mj71@wipro.com>2020-09-05 20:16:48 +0530
committerVikas Varma <vikas.varma@att.com>2020-09-18 19:34:01 +0000
commitedf98746a52408386efab26143778198b0efd3c5 (patch)
treeadc101beb879a57547cc828283803bfe7c5fd89b /tox.ini
parentf9b3575cae2b521ba8c6b6b30b15c89bd8a1cb48 (diff)
Add support to process NSI selection request
Issue-ID: OPTFRA-802 Signed-off-by: dhebeha <dhebeha.mj71@wipro.com> Signed-off-by: krishnaa96 <krishna.moorthy6@wipro.com> Change-Id: I85d951061abc697714425bd223b89102d4f2ede9
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini7
1 files changed, 6 insertions, 1 deletions
diff --git a/tox.ini b/tox.ini
index 1606b9b..3b15855 100644
--- a/tox.ini
+++ b/tox.ini
@@ -9,11 +9,15 @@ basepython=python3
setenv =
OSDF_CONFIG_FILE={toxinidir}/test/config/osdf_config.yaml
commands =
+ /bin/cp config/slicing_config.yaml test/config/
+ /bin/cp config/slicing_config.yaml test/functest/simulators/simulated-config/
/bin/bash test/functest/scripts/start-simulators.sh
coverage run --module pytest --junitxml xunit-results.xml
coverage xml --omit=".tox/py3/*","test/*"
coverage report -m --omit=".tox/py3/*","test/*"
/bin/bash test/functest/scripts/stop-simulators.sh
+ /bin/rm test/config/slicing_config.yaml
+ /bin/rm test/functest/simulators/simulated-config/slicing_config.yaml
# TODO: need to update the above "omit" when we package osdf as pip-installable
deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test/test-requirements.txt
@@ -31,6 +35,7 @@ commands = bash -c "pylint --reports=y osdf apps runtime| tee pylint.out"
basepython=python3.6
[testenv:flake8diff]
+basepython=python3.6
whitelist_externals=bash
deps = hacking>=2.0.0
commands =
@@ -39,5 +44,5 @@ commands =
[flake8]
select = E,H,W,F
max-line-length = 119
-ignore =
+ignore = W503 #conflict with W504
per-file-ignores=