summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorTorsten Marek <shlomme@gmail.com>2014-11-09 22:44:59 +0100
committerTorsten Marek <shlomme@gmail.com>2014-11-09 22:44:59 +0100
commitf5952d500ca1052252a0d8699be7ca3cf8e4eeda (patch)
tree24950b435ecabac9e22f1a22ce03de980dcd231a /tox.ini
parent7b8f664cf8aa5e8f2e7f444b2274ae62b6390e1c (diff)
downloadastroid-f5952d500ca1052252a0d8699be7ca3cf8e4eeda.tar.gz
Merge all test data into a single package per Python version.
Also modernized a lot of test code. This makes it possible to run the tests from both the base directory of the project as well as the astroid package. Since the packages have the same name for Python 2 and 3, there is less version-dependent code in the tests.
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini3
1 files changed, 1 insertions, 2 deletions
diff --git a/tox.ini b/tox.ini
index 746b003..58d6938 100644
--- a/tox.ini
+++ b/tox.ini
@@ -6,5 +6,4 @@ envlist = py27, py33
deps =
logilab-common
six
-changedir = {envsitepackagesdir}/astroid/tests
-commands = python -Wi -m unittest discover -p "unittest*.py"
+commands = python -Wi -m unittest discover -s {envsitepackagesdir}/astroid/tests -p "unittest*.py"