summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorSascha Peilicke <saschpe@suse.de>2012-07-09 17:31:34 +0200
committerSascha Peilicke <saschpe@suse.de>2012-07-09 17:31:34 +0200
commitc3f295729ee1cf3b9aad928d7c296603e2a13cfc (patch)
treed68a1429ed83268371f2f842b5d7b4b64fc48a4c /tools
parent5a98ed711222f91c02bc10bc79463d27b921342c (diff)
downloadpython-novaclient-c3f295729ee1cf3b9aad928d7c296603e2a13cfc.tar.gz
Install test-requires in development venv.
Otherwise ./run_tests.sh may fail Change-Id: Id37117a2dfd53144b8f062767afcf17825fd5d6e
Diffstat (limited to 'tools')
-rw-r--r--tools/install_venv.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/install_venv.py b/tools/install_venv.py
index f58bb101..6cb3a693 100644
--- a/tools/install_venv.py
+++ b/tools/install_venv.py
@@ -32,6 +32,7 @@ import platform
ROOT = os.path.dirname(os.path.dirname(os.path.realpath(__file__)))
VENV = os.path.join(ROOT, '.venv')
PIP_REQUIRES = os.path.join(ROOT, 'tools', 'pip-requires')
+TEST_REQUIRES = os.path.join(ROOT, 'tools', 'test-requires')
PY_VERSION = "python%s.%s" % (sys.version_info[0], sys.version_info[1])
@@ -188,6 +189,7 @@ def install_dependencies(venv=VENV):
pip_install('distribute')
pip_install('-r', PIP_REQUIRES)
+ pip_install('-r', TEST_REQUIRES)
# Tell the virtual env how to "import nova"
pthfile = os.path.join(venv, "lib", PY_VERSION, "site-packages",