placement/placement/tests/functional/gabbits/bug-1674694.yaml
EdLeafe 9b9073c4c3 Move the functional test directories
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
2018-09-04 10:31:24 -05:00

39 lines
858 B
YAML

# Test launchpad bug https://bugs.launchpad.net/nova/+bug/1674694
fixtures:
- APIFixture
defaults:
request_headers:
x-auth-token: admin
tests:
- name: 404 with application/json
GET: /bc8d9d50-7b0d-45ef-839c-e7b5e1c4e8fd
request_headers:
accept: application/json
status: 404
response_headers:
content-type: application/json
response_json_paths:
$.errors[0].status: 404
- name: 404 with no accept
GET: /bc8d9d50-7b0d-45ef-839c-e7b5e1c4e8fd
status: 404
response_headers:
content-type: application/json
response_json_paths:
$.errors[0].status: 404
- name: 404 with other accept
GET: /bc8d9d50-7b0d-45ef-839c-e7b5e1c4e8fd
status: 404
request_headers:
accept: text/html
response_headers:
content-type: /text/html/
response_strings:
- The resource could not be found