[placement] cover deleting standard trait

Add a gabbi test that confirms that attepting to delete a standard
trait is a Bad Request (400).

Change-Id: I6360f6304e2c7ce5cfa889a7a1bc90363701034a
This commit is contained in:
Chris Dent 2017-07-15 17:14:25 +01:00
parent be20530146
commit 4b73b3bca9
1 changed files with 6 additions and 0 deletions

View File

@ -55,6 +55,12 @@ tests:
DELETE: /traits/CUSTOM_NON_EXSITED
status: 404
- name: try to delete standard trait
DELETE: /traits/HW_CPU_X86_SSE
status: 400
response_strings:
- Cannot delete standard trait
- name: create CUSTOM_TRAIT_1
PUT: /traits/CUSTOM_TRAIT_1
status: 201