]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commitdiff
Add the functional-py34 and dsvm-functional-py34 targets to tox.ini
authorCyril Roelandt <cyril@redhat.com>
Wed, 7 Oct 2015 08:55:25 +0000 (10:55 +0200)
committerCyril Roelandt <cyril@redhat.com>
Wed, 7 Oct 2015 09:43:19 +0000 (11:43 +0200)
This will allow us to run the functional tests on the gates using Python 3.

Change-Id: I218c73398c6ed6cff776b65a66cb9336219cba77
Partial-Bug: #1500400

tox.ini

diff --git a/tox.ini b/tox.ini
index d78cabd25afb48d1ef33aae7905d6bb60e715b56..8f13b7fbd3adff50c17d1a3e0d94fdaed5a61552 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -48,6 +48,12 @@ deps =
   {[testenv]deps}
   -r{toxinidir}/neutron/tests/functional/requirements.txt
 
+[testenv:functional-py34]
+basepython = python3.4
+setenv = {[testenv:functional]setenv}
+deps =
+  {[testenv:functional]deps}
+
 [testenv:dsvm-functional]
 basepython = python2.7
 setenv = {[testenv:functional]setenv}
@@ -56,6 +62,13 @@ sitepackages=True
 deps =
   {[testenv:functional]deps}
 
+[testenv:dsvm-functional-py34]
+basepython = python3.4
+setenv = {[testenv:dsvm-functional]setenv}
+sitepackages={[testenv:dsvm-functional]sitepackages}
+deps =
+  {[testenv:dsvm-functional]deps}
+
 [testenv:fullstack]
 setenv = {[testenv]setenv}
          {[testenv:common]setenv}