Install test-requires in development venv.
Otherwise ./run_tests.sh may fail Change-Id: Id37117a2dfd53144b8f062767afcf17825fd5d6e
This commit is contained in:
parent
5a98ed7112
commit
c3f295729e
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue