From da9f163a31db22984ea257c4c68a262e43444d2b Mon Sep 17 00:00:00 2001 From: Yasufumi Ogawa Date: Tue, 15 Mar 2022 23:24:29 +0900 Subject: [PATCH] Activate debugging in all unittests heat-translator has some additional unittests other than `translator/tests`, but we cannot run pdb debugger for the tests. It's because only `translator/tests` is defined in [testenv:debug] section in `tox.ini`. This update is to list all `tests` dirs in the section. Signed-off-by: Yasufumi Ogawa Change-Id: I8a181a6936058acb2ad092d514ef0ffc4fd20e52 --- tox.ini | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index bc8992e6..9e98e6dd 100644 --- a/tox.ini +++ b/tox.ini @@ -30,7 +30,10 @@ deps = -r{toxinidir}/doc/requirements.txt commands = sphinx-build -b html doc/source doc/build/html [testenv:debug] -commands = oslo_debug_helper -t translator/tests {posargs} +commands = + oslo_debug_helper -t translator/tests {posargs} + oslo_debug_helper -t translator/hot/tests {posargs} + oslo_debug_helper -t translator/hot/tosca/tests {posargs} [testenv:py37-tp] basepython = python37