From a828faff0a89b80491cb9c924cb14794f98de85e Mon Sep 17 00:00:00 2001
From: ZhongShengping <chdzsp@163.com>
Date: Mon, 12 Jun 2017 16:16:51 +0800
Subject: [PATCH] Add environment variable

Add environment variable {toxinidir} in tox.ini

Change-Id: Idc8d98d5d88afc887f83c7d1bc7bd36a9b8b72fe
---
 tox.ini | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tox.ini b/tox.ini
index cd122cb..f5de027 100644
--- 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