diff options
author | Adam Cecile <adam.cecile@hitec.lu> | 2018-04-19 22:11:55 +0200 |
---|---|---|
committer | Prashanth Pai <ppai@redhat.com> | 2018-06-12 11:29:09 +0530 |
commit | d5e4a0362a08ca3c0e7a33ea8caafccb22b906b2 (patch) | |
tree | 3670768441bf11b74139084322a10f97e355a4c5 /tox.ini | |
parent | 7bf9472939a41ac92514d9bfec55f45a53cfba6b (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.ini | 12 |
1 files changed, 10 insertions, 2 deletions
@@ -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 = |