Skip to content

Commit fd0ac81

Browse files
committed
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
1 parent 607f31d commit fd0ac81

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

tox.ini

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,10 @@ commands =
7373
coverage report
7474

7575
[testenv:debug]
76-
commands = oslo_debug_helper -t openstackclient/tests {posargs}
76+
passenv = OS_*
77+
commands =
78+
pip install -q -U ipdb
79+
oslo_debug_helper -t openstackclient/tests {posargs}
7780

7881
[testenv:docs]
7982
commands = python setup.py build_sphinx

0 commit comments

Comments
 (0)