summaryrefslogtreecommitdiff
path: root/openstackclient/shell.py
diff options
context:
space:
mode:
authorTang Chen <chen.tang@easystack.cn>2016-02-14 18:43:19 +0800
committerTang Chen <chen.tang@easystack.cn>2016-02-14 18:43:19 +0800
commitcfcb750a97af1ab82b425532437456c22dcebad9 (patch)
tree5064b1fbe9b6853ff4e353d3eef56dfaeb16ccc3 /openstackclient/shell.py
parentd8abec33ada8b2b028d52eb8bfad2640812b9af8 (diff)
downloadpython-openstackclient-cfcb750a97af1ab82b425532437456c22dcebad9.tar.gz
Use assertRaises() to check if an exception is raised
In some test cases, try/except is used to check if an exception has been raised. We should use assertRaises() instead. Change-Id: I15c8e757dcab77fd6f895feb018184e1eb7e617b
Diffstat (limited to 'openstackclient/shell.py')
0 files changed, 0 insertions, 0 deletions