summaryrefslogtreecommitdiffstats
path: root/tox.ini
diff options
context:
space:
mode:
authorThomas Waldmann <tw@waldmann-edv.de>2015-05-22 20:23:37 +0200
committerThomas Waldmann <tw@waldmann-edv.de>2015-05-22 21:26:41 +0200
commit906ea629f635bef61d614541c38eac7ad0f076aa (patch)
tree232baf57dcccf35765207afcd88e645f04996e08 /tox.ini
parentb5b1af2195e31c171fad3c5b59fa3df005a32da9 (diff)
use py.test for testing, document it
locally (via tox) and also on travis ci.
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini10
1 files changed, 7 insertions, 3 deletions
diff --git a/tox.ini b/tox.ini
index 46e4c01d7..619fc01ff 100644
--- a/tox.ini
+++ b/tox.ini
@@ -3,9 +3,13 @@ envlist = py32, py33, py34
[testenv]
# Change dir to avoid import problem
-changedir = docs
-commands = {envpython} -m borg.testsuite.run -bv []
+changedir = {envdir}
+deps =
+ pytest
+commands = py.test
passenv = * # fakeroot -u needs some env vars
[testenv:py32]
-deps = mock
+deps =
+ pytest
+ mock