summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Gauld <ag1282@att.com>2018-07-10 11:22:04 -0400
committerAndrew Gauld <ag1282@att.com>2018-07-10 11:22:29 -0400
commitf00bb6efe7e2fc1df8b989c5b490fcab240e1c27 (patch)
treed54643fc6cb36115f3d26c452c6a326d35adf242
parent85b4122ade73f64d4edb0d1dddfc14280429f7cb (diff)
tell tox not to complain that mkdir is external
Change-Id: I999e33dd666a1c2c46ec281263050b05db8c726e Issue-ID: DCAEGEN2-607 Signed-off-by: Andrew Gauld <ag1282@att.com>
-rw-r--r--onap-dcae-dcaepolicy-lib/tox.ini6
1 files changed, 5 insertions, 1 deletions
diff --git a/onap-dcae-dcaepolicy-lib/tox.ini b/onap-dcae-dcaepolicy-lib/tox.ini
index 4ef8593..9bace46 100644
--- a/onap-dcae-dcaepolicy-lib/tox.ini
+++ b/onap-dcae-dcaepolicy-lib/tox.ini
@@ -11,7 +11,11 @@ deps=
pytest-cov
setenv =
PYTHONPATH={toxinidir}
+whitelist_externals=
+ rm
+ mkdir
commands=
- -mkdir {toxinidir}/logs
+ rm -rf {toxinidir}/logs
+ mkdir {toxinidir}/logs
pytest --junitxml xunit-results.xml --cov onap_dcae_dcaepolicy_lib --cov-report xml
coverage xml