diff --git a/test-requirements.txt b/test-requirements.txt index 282a4dda2b96..9c67b37cb19d 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -3,6 +3,7 @@ coverage>=3.6 discover feedparser fixtures>=0.3.14 +libvirt-python>=1.2.5 mock>=1.0 mox>=0.5.3 MySQL-python diff --git a/tox.ini b/tox.ini index be09f75ba917..27363a75b622 100644 --- a/tox.ini +++ b/tox.ini @@ -4,7 +4,6 @@ envlist = py26,py27,py33,pep8 skipsdist = True [testenv] -sitepackages = True usedevelop = True install_command = pip install -U --force-reinstall {opts} {packages} # Note the hash seed is set to 0 until nova can be tested with a @@ -17,16 +16,13 @@ commands = python -m nova.openstack.common.lockutils python setup.py test --slowest --testr-args='{posargs}' [tox:jenkins] -sitepackages = True downloadcache = ~/cache/pip [testenv:pep8] -sitepackages = False commands = flake8 {posargs} [testenv:genconfig] -sitepackages = False commands = bash tools/config/generate_sample.sh -b . -p nova -o etc/nova @@ -49,9 +45,6 @@ commands = {posargs} [testenv:docs] commands = python setup.py build_sphinx -[testenv:py27local] -sitepackages = False - [flake8] # H803 skipped on purpose per list discussion. # E125 is deliberately excluded. See https://github.com/jcrocholl/pep8/issues/126