diff --git a/nova/tests/functional/api/openstack/placement/gabbits/aggregate.yaml b/nova/tests/functional/api/openstack/placement/gabbits/aggregate.yaml index c9c4de00b0dc..b831e8b76c07 100644 --- a/nova/tests/functional/api/openstack/placement/gabbits/aggregate.yaml +++ b/nova/tests/functional/api/openstack/placement/gabbits/aggregate.yaml @@ -57,6 +57,17 @@ tests: response_json_paths: $.errors[0].title: Not Found +- name: put same aggregates twice + PUT: $LAST_URL + data: + - *agg_1 + - *agg_1 + status: 400 + response_strings: + - has non-unique elements + response_json_paths: + $.errors[0].title: Bad Request + - name: put some aggregates PUT: $LAST_URL data: