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
commitf5e58be597e4866b0ef34cf874693240124b0693 (patch)
treee82d2834954f87ffbdcd39697f330d1de26f9925 /tox.ini
parent739f62fd426ce9ac6a305a6ff58a48c9d0e7d0dd (diff)
downloadastroid-git-f5e58be597e4866b0ef34cf874693240124b0693.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 746b0035..58d69381 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"