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 <yasufum.o@gmail.com>
Change-Id: I8a181a6936058acb2ad092d514ef0ffc4fd20e52
This commit is contained in:
Yasufumi Ogawa 2022-03-15 23:24:29 +09:00
parent 65dfa754e2
commit da9f163a31
1 changed files with 4 additions and 1 deletions

View File

@ -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