[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:
parent
be20530146
commit
4b73b3bca9
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue