]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Ensure tests run under python2.7
authorAngus Lees <gus@inodes.org>
Mon, 2 Mar 2015 06:06:54 +0000 (17:06 +1100)
committerAngus Lees <gus@inodes.org>
Mon, 2 Mar 2015 06:06:54 +0000 (17:06 +1100)
commit40783cee5e520173a4cc37c23dd97be2d37b65fd
treee9fb4c4aab64a3949f61c3adabc2fa39e1f550ca
parentd283e23d7658162f911240bf6a4e707e3709093a
Ensure tests run under python2.7

tox uses whatever python version that tox ran with as the default python
version for environments (py27,py3x, etc are given a more specific
default).

Debian's python-tox (for example) uses python3, but we require python2.7
- and a naive `apt-get install python-tox; tox -epep8` fails with
py3-related errors on Debian.

This change explicitly sets `basepython = python2.7` in several testing
environments that would otherwise have used the default basepython.

Change-Id: I377ac6d72dec5b85c105d8a1a74f6974efb84dcf
tox.ini