From fd0ac815de9a8ca528434029d4e41c99e3b5984e Mon Sep 17 00:00:00 2001 From: Rui Chen Date: Fri, 20 Jan 2017 17:48:11 +0800 Subject: [PATCH] Functional tests debug support Pass OS_* options into tox debug venv in order to debug functional tests in local, and install ipdb to make code-debug more convenient. Change-Id: Ib926948f2b9a52921cf7487fe16ef716481e3ceb --- tox.ini | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 130b32fe83..9d18cb4e73 100644 --- a/tox.ini +++ b/tox.ini @@ -73,7 +73,10 @@ commands = coverage report [testenv:debug] -commands = oslo_debug_helper -t openstackclient/tests {posargs} +passenv = OS_* +commands = + pip install -q -U ipdb + oslo_debug_helper -t openstackclient/tests {posargs} [testenv:docs] commands = python setup.py build_sphinx