Use python3 for functional test tox environments

Depends-On: https://review.opendev.org/697847
Change-Id: Ibbb308c88dbf5d6250c0bf86f9fcf00da8470b1e
This commit is contained in:
Jonathan Rosser 2019-12-07 18:03:55 +00:00
parent 33a74e25a3
commit a26cf01fb0

11
tox.ini
View File

@ -103,11 +103,13 @@ commands =
[testenv:functional]
basepython = python3
commands =
bash -c "{toxinidir}/tests/common/test-ansible-functional.sh"
[testenv:distro_install]
basepython = python3
setenv =
{[testenv]setenv}
ANSIBLE_PARAMETERS=-e @{toxinidir}/tests/common/test-distro_install-vars.yml
@ -116,6 +118,7 @@ commands =
[testenv:ovs]
basepython = python3
setenv =
{[testenv]setenv}
ANSIBLE_INVENTORY={toxinidir}/tests/ovs_inventory
@ -125,6 +128,7 @@ commands =
[testenv:calico]
basepython = python3
setenv =
{[testenv]setenv}
ANSIBLE_INVENTORY={toxinidir}/tests/calico_inventory
@ -134,6 +138,7 @@ commands =
[testenv:opendaylight]
basepython = python3
setenv =
{[testenv]setenv}
ANSIBLE_INVENTORY={toxinidir}/tests/opendaylight_inventory
@ -143,6 +148,7 @@ commands =
[testenv:opendaylight-bgpvpn]
basepython = python3
setenv =
{[testenv]setenv}
ANSIBLE_INVENTORY={toxinidir}/tests/opendaylight_inventory
@ -152,6 +158,7 @@ commands =
[testenv:ovs-nsh]
basepython = python3
setenv =
{[testenv]setenv}
ANSIBLE_INVENTORY={toxinidir}/tests/opendaylight_inventory
@ -160,6 +167,7 @@ commands =
bash -c "{toxinidir}/tests/common/test-ansible-functional.sh"
[testenv:ovn]
basepython = python3
setenv =
{[testenv]setenv}
ANSIBLE_INVENTORY={toxinidir}/tests/ovn_inventory
@ -169,6 +177,7 @@ commands =
[testenv:odl-sfc]
basepython = python3
setenv =
{[testenv]setenv}
ANSIBLE_INVENTORY={toxinidir}/tests/opendaylight_inventory
@ -178,6 +187,7 @@ commands =
[testenv:ovs-sfc]
basepython = python3
setenv =
{[testenv]setenv}
ANSIBLE_INVENTORY={toxinidir}/tests/ovs_inventory
@ -187,6 +197,7 @@ commands =
[testenv:ovs-fwaasv2]
basepython = python3
setenv =
{[testenv]setenv}
ANSIBLE_INVENTORY={toxinidir}/tests/ovs_inventory