Allow `tox -epy27` to successfully run

Running `tox -epy27` currently without proper dependencies result in
an error.  See [1].  This fixes the tox.ini and the test-requirements.txt
so the py27 gate can correctly run.

[1] http://logs.openstack.org/74/438974/2/check/gate-kosmos-specs-python27-ubuntu-xenial/4da857f/console.html.gz

Change-Id: I3a79d2ad9e6acc3909e7650f52c870d31744dfb1
This commit is contained in:
Tin Lam 2017-03-21 09:24:55 -05:00
parent 4ee173564f
commit 1c76b9f05c
2 changed files with 5 additions and 1 deletions

View File

@ -0,0 +1,2 @@
testrepository>=0.0.18
testtools>=0.9.34

View File

@ -1,6 +1,6 @@
[tox]
minversion = 1.6
envlist = docs
envlist = docs,py27
skipsdist = True
[testenv]
@ -10,6 +10,8 @@ setenv =
VIRTUAL_ENV={envdir}
deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
commands =
python setup.py testr --slowest --testr-args='{posargs}'
[testenv:venv]
commands = {posargs}