summaryrefslogtreecommitdiffstats
path: root/ms/py-executor/tox.ini
diff options
context:
space:
mode:
authorMarek Szwalkiewicz <marek.szwalkiewicz@external.t-mobile.pl>2020-01-23 15:27:26 +0000
committerKAPIL SINGAL <ks220y@att.com>2020-01-24 14:59:47 +0000
commit5064cb8bc7c7890283f810fbe27b284e5581c641 (patch)
treea9b5813c52e5797c08c3028ef3e7f3c936f6649e /ms/py-executor/tox.ini
parent95000d792e2e5001c7f566b0dedff997dc649ab8 (diff)
Add resource resolution gRPC client.
Adds a python module that contains new resource resolution client that should replace previous helpers done in Jython. Issue-ID: CCSDK-1989 Signed-off-by: Marek Szwalkiewicz <marek.szwalkiewicz@external.t-mobile.pl> Change-Id: I48b22acdc7fec31f28de84232c5b6b37124a0c2a
Diffstat (limited to 'ms/py-executor/tox.ini')
-rw-r--r--ms/py-executor/tox.ini25
1 files changed, 25 insertions, 0 deletions
diff --git a/ms/py-executor/tox.ini b/ms/py-executor/tox.ini
new file mode 100644
index 000000000..8cf1776ba
--- /dev/null
+++ b/ms/py-executor/tox.ini
@@ -0,0 +1,25 @@
+[tox]
+envlist=py37,py38
+skipsdist=True
+[testenv]
+setenv =
+ CONFIGURATION = configuration-local.ini
+deps =
+ -rtest-requirements.txt
+commands = pytest resource_resolution/
+[testenv:codelint]
+deps =
+ black
+commands = black -l 120 --check {posargs:.}
+[testenv:doclint]
+deps =
+ flake8-docstrings
+commands = flake8 --doctest --docstring-convention google --max-line-length 120 --exclude .svn,CVS,.bzr,.hg,.git,__pycache__,.tox,.eggs,*.egg,*test.py --select=D {posargs:.}
+[testenv:coverage]
+basepython = python3.7
+setenv =
+ CONFIGURATION = configuration-local.ini
+deps =
+ -rtest-requirements.txt
+ pytest-cov
+commands = pytest --cov=manager --cov=resource_resolution --cov-fail-under=60 --cov-config={toxinidir}/.coveragerc resource_resolution/