nova/nova/tests/functional/api/openstack/placement/gabbits/resource-classes-1-6.yaml

22 lines
511 B
YAML

# Confirm that 1.7 behavior of PUT resource classes is not in
# microversion 1.6.
fixtures:
- APIFixture
defaults:
request_headers:
x-auth-token: admin
accept: application/json
content-type: application/json
openstack-api-version: placement 1.6
tests:
- name: bodiless put
PUT: /resource_classes/CUSTOM_COW
status: 400
response_strings:
# We don't check much of this string because it is different
# between python 2 and 3.
- "Malformed JSON:"