9b9073c4c3
While in Nova, placement functional test code was relegated to the 'nova/tests/functional/api/openstack/placement/' directory. This commit moves the contents of that directory to 'placement/tests/functional/', and removes the unnecesary directories. It also removes the files related to Nova aggregates that were preserved in the filter_history.sh script. Change-Id: I5af2e074f2e1bcb90f32589fce819bd4872b6871
22 lines
511 B
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:"
|