diff options
author | Doug Hellmann <doug.hellmann@dreamhost.com> | 2013-07-21 17:00:31 -0400 |
---|---|---|
committer | Doug Hellmann <doug.hellmann@dreamhost.com> | 2013-07-22 15:19:29 -0400 |
commit | 9bc1af398e888f5981453a3efbff2b913767d21a (patch) | |
tree | 1612ee5fd6b9b47185fa894c2c35f34bfc8b494e | |
parent | d836c1f05ac6909409b1c8763d5926d31fad5e2f (diff) | |
download | oslo-config-9bc1af398e888f5981453a3efbff2b913767d21a.tar.gz |
Fix python 3.3 test configuration
It is no longer necessary to install testrepository from bzr,
so don't. That means we no longer need a separate py33
environment definition, or the special requirements file.
Do not use distribute in the test virtualenvs.
Change-Id: I1c0002d3992e25e7e0927eca85ccd5e4d57ee7d1
-rw-r--r-- | test-requirements-py3.txt | 21 | ||||
-rw-r--r-- | test-requirements.txt | 2 | ||||
-rw-r--r-- | tox.ini | 4 |
3 files changed, 2 insertions, 25 deletions
diff --git a/test-requirements-py3.txt b/test-requirements-py3.txt deleted file mode 100644 index ffcd2f3..0000000 --- a/test-requirements-py3.txt +++ /dev/null @@ -1,21 +0,0 @@ -# Install bounded pep8/pyflakes first, then let flake8 install -pep8==1.4.5 -pyflakes==0.7.2 -flake8==2.0 -hacking>=0.5.3,<0.6 - -discover -fixtures>=0.3.12 -python-subunit --e bzr+lp:testrepository#egg=testrepository -testscenarios<0.5 -testtools>=0.9.29 - -# when we can require tox>= 1.4, this can go into tox.ini: -# [testenv:cover] -# deps = {[testenv]deps} coverage -coverage - -# this is required for the docs build jobs -sphinx -oslo.sphinx diff --git a/test-requirements.txt b/test-requirements.txt index baafe1a..cdd85f5 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -7,7 +7,7 @@ hacking>=0.5.3,<0.6 discover fixtures>=0.3.12 python-subunit -testrepository>=0.0.13 +testrepository>=0.0.17 testscenarios<0.5 testtools>=0.9.29 @@ -1,4 +1,5 @@ [tox] +distribute = False envlist = py26,py27,py33,pep8 [testenv] @@ -7,9 +8,6 @@ deps = -r{toxinidir}/requirements.txt -r{toxinidir}/test-requirements.txt commands = python setup.py testr --slowest --testr-args='{posargs}' -[testenv:py33] -deps = -r{toxinidir}/test-requirements-py3.txt - [testenv:pep8] commands = flake8 |