diff options
-rw-r--r-- | pytest.ini | 2 | ||||
-rw-r--r-- | tox.ini | 6 |
2 files changed, 5 insertions, 3 deletions
diff --git a/pytest.ini b/pytest.ini new file mode 100644 index 0000000..5ee6477 --- /dev/null +++ b/pytest.ini @@ -0,0 +1,2 @@ +[pytest] +testpaths = tests @@ -7,7 +7,7 @@ deps = Paste pytest commands = - py.test {posargs:tests/} + py.test {posargs} [testenv:cover] basepython = python2.7 @@ -16,7 +16,7 @@ deps = {[testenv]deps} pytest-cov commands = - py.test {posargs:--cov=paste/deploy --cov-report=xml --cov-report=html --cov-report=term-missing tests/} + py.test --cov=paste/deploy --cov-report=xml --cov-report=html --cov-report=term-missing {posargs} [testenv:cover3] basepython = python3.5 @@ -25,4 +25,4 @@ deps = {[testenv]deps} pytest-cov commands = - py.test {posargs:--cov=paste/deploy --cov-report=xml --cov-report=html --cov-report=term-missing tests/} + py.test --cov=paste/deploy --cov-report=xml --cov-report=html --cov-report=term-missing {posargs} |