summaryrefslogtreecommitdiffstats
path: root/tox.ini
diff options
context:
space:
mode:
authorAdam Cecile <adam.cecile@hitec.lu>2018-04-19 22:11:55 +0200
committerPrashanth Pai <ppai@redhat.com>2018-06-12 11:29:09 +0530
commitd5e4a0362a08ca3c0e7a33ea8caafccb22b906b2 (patch)
tree3670768441bf11b74139084322a10f97e355a4c5 /tox.ini
parent7bf9472939a41ac92514d9bfec55f45a53cfba6b (diff)
Port to Python 3.x
Based on PR sent by Adam Cécile (eLvErDe on GitHub): https://github.com/gluster/libgfapi-python/pull/21 Additional changes to original PR: * Make it pep8 compliant * Fix comment in getcwd() * Add functest36 env to tox.ini Change-Id: I45c4056333c12a82814cf8adcfa87e6687365366 Signed-off-by: Prashanth Pai <ppai@redhat.com>
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini12
1 files changed, 10 insertions, 2 deletions
diff --git a/tox.ini b/tox.ini
index b9213ba..b702b3a 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,5 +1,5 @@
[tox]
-envlist = py26,py27,pep8
+envlist = py26,py27,py36,pep8
minversion = 1.6
[testenv]
@@ -14,7 +14,15 @@ deps =
commands = nosetests -v {posargs:test/unit}
[testenv:functest]
-commands = ./.functests {posargs}
+commands = nosetests -s -v {posargs:test/functional}
+
+[testenv:functest27]
+basepython = python2.7
+commands = nosetests -s -v {posargs:test/functional}
+
+[testenv:functest36]
+basepython = python3.6
+commands = nosetests -s -v {posargs:test/functional}
[testenv:pep8]
commands =