From af7747ca4a7d849dbef9f86b31216e388334f876 Mon Sep 17 00:00:00 2001 From: Michael Hwang Date: Fri, 22 Sep 2017 10:05:05 -0400 Subject: Get tox working * Use public onap dependencies * Make to work with tox * Fix unit tests Change-Id: I08ed9fa33003f4ec017818f61acf83b9f29ec9a3 Issue-Id: DCAEGEN2-60 Signed-off-by: Michael Hwang --- dcae-cli/tox.ini | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 dcae-cli/tox.ini (limited to 'dcae-cli/tox.ini') diff --git a/dcae-cli/tox.ini b/dcae-cli/tox.ini new file mode 100644 index 0000000..b0f267a --- /dev/null +++ b/dcae-cli/tox.ini @@ -0,0 +1,11 @@ +# content of: tox.ini , put in same dir as setup.py +[tox] +envlist = py27,py35 + +[testenv] +deps= + pytest + coverage + pytest-cov + mock +commands=pytest --junitxml xunit-results.xml --cov {envsitepackagesdir}/dcae_cli --cov-report=xml -- cgit 1.2.3-korg