Add environment variable
authorZhongShengping <chdzsp@163.com>
Mon, 12 Jun 2017 08:06:48 +0000 (16:06 +0800)
committerZhongShengping <chdzsp@163.com>
Mon, 12 Jun 2017 08:06:48 +0000 (16:06 +0800)
Add environment variable {toxinidir} in tox.ini

Change-Id: Iee0e6e1f5ea49a7307bdfd493b4203df17369d75

tox.ini

diff --git a/tox.ini b/tox.ini
index cd122cb..f5de027 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -7,5 +7,5 @@ envlist = releasenotes
 install_command = pip install -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} {opts} {packages}
 
 [testenv:releasenotes]
-deps = -rtest-requirements.txt
+deps = -r{toxinidir}/test-requirements.txt
 commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html