diff --git a/tox.ini b/tox.ini index b0aee6f0..2970468d 100644 --- a/tox.ini +++ b/tox.ini @@ -58,6 +58,10 @@ commands = bash -c "if [ ! -d "{toxinidir}/tests/common" ]; then \ git clone https://git.openstack.org/openstack/openstack-ansible-tests {toxinidir}/tests/common; \ fi" + bash -c "if [ ! -d "{toxinidir}/tests/common/previous" ]; then \ + git clone https://git.openstack.org/openstack/openstack-ansible-tests -b stable/newton \ + {toxinidir}/tests/common/previous; \ + fi" [testenv:pep8] @@ -117,10 +121,6 @@ setenv = ANSIBLE_PARAMETERS=-vvv -e keystone_upgrade=True commands = {[testenv:tests_clone]commands} - bash -c "if [ ! -d "{toxinidir}/tests/common/previous" ]; then \ - git clone https://git.openstack.org/openstack/openstack-ansible-tests -b stable/newton \ - {toxinidir}/tests/common/previous; \ - fi" bash -c "{toxinidir}/tests/common/test-ansible-functional.sh"