From 1f0ff751b26e60d92b6d0f6fcadfa9bb496d7ac7 Mon Sep 17 00:00:00 2001 From: "ChangBo Guo(gcb)" Date: Thu, 8 Dec 2016 16:46:57 +0800 Subject: [PATCH] Add Python 3.5 functional tests in tox.ini Add Python 3.5 functional tests tox envlist, this is needed by python 3.5 functional tests Jenkins job. Change-Id: I1bba877fcc2c1f2140cbbba2bc6e6c20d7972615 --- tox.ini | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/tox.ini b/tox.ini index e709b4d0d..4652da5a7 100644 --- a/tox.ini +++ b/tox.ini @@ -58,6 +58,18 @@ commands = find . -type f -name "*.pyc" -delete bash tools/pretty_tox.sh '{posargs}' +# TODO(gcb) Merge this into [testenv:functional] when functional tests are gating +# with python 3.5 +[testenv:functional-py35] +basepython = python3.5 +usedevelop = True +setenv = VIRTUAL_ENV={envdir} + OS_TEST_PATH=./nova/tests/functional + LANGUAGE=en_US +commands = + find . -type f -name "*.pyc" -delete + bash tools/pretty_tox3.sh '{posargs}' + [testenv:api-samples] usedevelop = True setenv = VIRTUAL_ENV={envdir}