summaryrefslogtreecommitdiffstats
path: root/tools/lintstack.py
diff options
context:
space:
mode:
authorDan Prince <dprince@redhat.com>2012-08-17 15:34:28 -0400
committerDan Prince <dprince@redhat.com>2012-08-17 23:11:55 -0400
commit1a605cccb1fe29ae6554ad5afa3110abef11d9c2 (patch)
treed45519d5abc4d5cb2f99b50bbabc51ca595abc95 /tools/lintstack.py
parenta10be151ad9f62bb916498c8dae42e4b54dfc779 (diff)
downloadnova-1a605cccb1fe29ae6554ad5afa3110abef11d9c2.tar.gz
nova-1a605cccb1fe29ae6554ad5afa3110abef11d9c2.tar.xz
nova-1a605cccb1fe29ae6554ad5afa3110abef11d9c2.zip
Return HTTP 422 on bad server update PUT request.
This patch updates the /servers API and the disk config extension so that they properly handle incorrectly formatted server update/PUT requests. Includes a new test cause that verifies (with extensions enabled) that a poorly formatted PUT request to /servers returns HTTP 422 instead of a 500. Also updated the previous test_create_missing_server test to use test.TestException instead of Exception. Fixes LP Bug #1038227. Change-Id: I6b11602790778465348647bb5825b7326d50065a
Diffstat (limited to 'tools/lintstack.py')
0 files changed, 0 insertions, 0 deletions