nova/nova/tests
Brandon Irizarry d627ae8526 Changed an HTTP exception to return proper code
POSTing to /servers with a content-type of text/plain
and a text/plain body results in a response code of 400.
It should be 415. I found this line in the code that
appears to handle this singular case and modified
the HTTP exception used to the correct one. Tests were
also updated accordingly.

Change-Id: I5fa1fdba56803b2ef63b1efaaeeced6ceb7779d9
Closes-Bug: 1567977
(cherry picked from commit a7019a87ba)
2016-04-20 16:49:26 +00:00
..
functional Return 400 on boot for invalid image metadata 2016-04-09 12:43:44 +00:00
live_migration/hooks Ceph for live-migration job 2016-01-22 16:27:58 +03:00
unit Changed an HTTP exception to return proper code 2016-04-20 16:49:26 +00:00
__init__.py
fixtures.py Change SpawnIsSynchronous fixture return 2016-03-10 13:48:41 -05:00
uuidsentinel.py Add uuidsentinel test module 2015-12-14 11:28:55 +01:00