summaryrefslogtreecommitdiff
path: root/testenv/tox.ini
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2019-04-14 23:15:06 +0300
committerDevaev Maxim <[email protected]>2019-04-14 23:16:29 +0300
commitbc0deaee5f487ec2bb752a9dbe78ffe51d2559e5 (patch)
treed14dc029c3ecb57dec1824427cdec479b15a5ddc /testenv/tox.ini
parent92260645c57689665c1fcd3f65b79a059d99d421 (diff)
moved tests to testenv
Diffstat (limited to 'testenv/tox.ini')
-rw-r--r--testenv/tox.ini12
1 files changed, 7 insertions, 5 deletions
diff --git a/testenv/tox.ini b/testenv/tox.ini
index 55d51892..b63b5071 100644
--- a/testenv/tox.ini
+++ b/testenv/tox.ini
@@ -8,14 +8,14 @@ sitepackages = true
changedir = /src
[testenv:flake8]
-commands = flake8 --config=testenv/linters/flake8.ini kvmd genmap.py tests
+commands = flake8 --config=testenv/linters/flake8.ini kvmd genmap.py testenv/tests
deps =
flake8
flake8-double-quotes
-rrequirements.txt
[testenv:pylint]
-commands = pylint --rcfile=testenv/linters/pylint.ini --output-format=colorized --reports=no kvmd genmap.py tests
+commands = pylint --rcfile=testenv/linters/pylint.ini --output-format=colorized --reports=no kvmd genmap.py testenv/tests
deps =
pylint
pytest
@@ -24,19 +24,21 @@ deps =
-rrequirements.txt
[testenv:mypy]
-commands = mypy --config-file=testenv/linters/mypy.ini --cache-dir=testenv/.mypy_cache kvmd genmap.py tests
+commands = mypy --config-file=testenv/linters/mypy.ini --cache-dir=testenv/.mypy_cache kvmd genmap.py testenv/tests
deps =
mypy
-rrequirements.txt
[testenv:vulture]
-commands = vulture --ignore-names=_format_P,Plugin --ignore-decorators=@_exposed,@_system_task,@pytest.fixture kvmd genmap.py tests testenv/linters/vulture-wl.py
+commands = vulture --ignore-names=_format_P,Plugin --ignore-decorators=@_exposed,@_system_task,@pytest.fixture kvmd genmap.py testenv/tests testenv/linters/vulture-wl.py
deps =
vulture
-rrequirements.txt
[testenv:pytest]
-commands = py.test -vv --cov-config=testenv/linters/coverage.ini --cov-report=term-missing --cov=kvmd tests
+commands = py.test -vv --cov-config=testenv/linters/coverage.ini --cov-report=term-missing --cov=kvmd testenv/tests
+setenv =
+ PYTHONPATH=/src
deps =
pytest
pytest-cov