diff options
author | Iury Gregory Melo Ferreira <imelofer@redhat.com> | 2019-03-11 15:36:35 +0100 |
---|---|---|
committer | Iury Gregory Melo Ferreira <imelofer@redhat.com> | 2019-03-15 17:43:19 +0100 |
commit | 9b881cb973bc2219df90c2b71e2a1d0e18dcd98a (patch) | |
tree | b791399aaeedafab83be3bdeda8800af63b04eba /tox.ini | |
parent | 66392a90df2d61adf780f3a95a7da37d639d227c (diff) | |
download | python-ironicclient-9b881cb973bc2219df90c2b71e2a1d0e18dcd98a.tar.gz |
Run jobs under python2 and python3
-Switch functional job to run under python3
-Create a functional job to run under python2
-Create a tempest job to run under python2
-Create tox env to run functional tests under python3
-Validate if `USE_PYTHON3` is set to `True` to call
the correct env for tests
-Remove hardcoded path for client when running functional tests
- Update tests failures to work for python2 and python3
Change-Id: I55abc999f6f397b171d05fd9e9b39d833ca95e55
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -56,6 +56,14 @@ commands = {posargs} passenv = * setenv = TESTS_DIR=./ironicclient/tests/functional LANGUAGE=en_US + OS_TESTENV_NAME = {envname} + +[testenv:functionalpy3] +basepython = python3 +passenv = * +setenv = TESTS_DIR=./ironicclient/tests/functional + LANGUAGE=en_US + OS_TESTENV_NAME = {envname} [testenv:docs] basepython = python3 |