diff options
author | ting.wang <ting.wang@easystack.cn> | 2016-01-12 11:27:57 +0800 |
---|---|---|
committer | ting wang <ting.wang@easystack.cn> | 2016-01-21 12:57:03 +0000 |
commit | e9e4c142b433b26e6cea135224bd94139d986975 (patch) | |
tree | 784e586a3e08d6a47948206e41d9d30ae06c0389 /test-requirements.txt | |
parent | 261c088eac631cbf013b496cf6d6dccaf3003df3 (diff) | |
download | python-troveclient-e9e4c142b433b26e6cea135224bd94139d986975.tar.gz |
use oslotest to break into the debugger when running test cases
Once we add debug testenv, we can use "tox -e debug" to debug test cases
when tox is running. Then tox will use oslotest which really debug our
test cases.
Only we should do is insert pdb into code.It's easy to use.
The same in trove:
https://review.openstack.org/#/c/265524/
usage link:
http://docs.openstack.org/developer/oslotest/features.html
Change-Id: I93709451af9a14fc9c71e1c3306a1a025aee8b44
Diffstat (limited to 'test-requirements.txt')
-rw-r--r-- | test-requirements.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test-requirements.txt b/test-requirements.txt index 059b2a7..6b245d4 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -5,6 +5,7 @@ hacking<0.11,>=0.10.0 coverage>=3.6 discover oslosphinx!=3.4.0,>=2.5.0 # Apache-2.0 +oslotest>=1.10.0 # Apache-2.0 requests-mock>=0.7.0 # Apache-2.0 sphinx!=1.2.0,!=1.3b1,<1.3,>=1.1.2 testrepository>=0.0.18 |