summaryrefslogtreecommitdiff
path: root/ceilometerclient/tests/test_exc.py
Commit message (Collapse)AuthorAgeFilesLines
* Move unit tests into their own subdirectoryChris Dent2015-03-131-71/+0
| | | | | | | | | | | | | | This is in preparation of moving functional tests currently in tempest in-tree. No surprises in this change: * move files * update the local imports Same number of tests run, all still pass. Change-Id: Ibfeac44421c5f36740b1377868f5ec469b2893f5
* Fix hacking rules: H302,H305,H307,H402ZhiQiang Fan2014-06-111-1/+0
| | | | | | | | | | Currently, OpenStack Proposal Bot tries to update requirements with global requirements, while the upgraded hacking has introduced some new rules which are not fully handled by current code. This patch fixes some simple rules which are quite straight-forward. Change-Id: If8334f69fb1ad34fbbd6ad898e0e92eb3f81e95a
* Display message on HTTPExceptionliu-sheng2014-04-171-17/+38
| | | | | | | | Display the faultstring of HTTPException if available, such as HTTPBadRequest(400) error and HTTPNotFound(404) error. Change-Id: I1c361ff5d02ded4af429f94fd4299d2de3798488 Closes-bug: #1297769
* Display message on HTTP 400Thomas Herve2013-12-161-0/+51
This patch parses the faultstring given by the server on 400 errors if available. Change-Id: Ieae2f0b39fed2c45f276d6c931bebfebab9f696e Closes-Bug: bug #1260394