OpenStack Debug Python Unit Test using pdb

preview_player
Показать описание
OpenStack Debug Python Unit Test using pdb
1)
Add following statements in Unit Test Code where you want to debug
import pdb

2)

OR

Run the test with "testtools" instead of "testr"

a)
#source .venv/bin/activate

b)
If you are using "Tox" environment
#source .tox/py27/bin/activate
Рекомендации по теме
Комментарии
Автор

The proposed solution to debug with the Tox environment does not work.

DantalionNl
join shbcf.ru