nova/nova/tests/functional/api/openstack/placement
Chris Dent 7792ba33a0 [placement] Update allocation-candidates.yaml for gabbi 1.35
Gabbi 1.35 provides template variable susbtitution on the left hand side
of a JSONPath expression. That's used here to remove the need for static
fake uuids in the test data for allocation-candidates and the
SharedStorageFixture.

A couple of other clean ups to the use of gabbi, unrelated to the 1.35
update:

* It's possible to test the entire value in one response:

    resources:
         VCPU: 4
         DISK_GB: 5

  instead of:

    resources.VCPU: 4
    resources.DISK_GB: 5

  This is handy when the root of the expression is calculated and
  repeating that calculation is noisy.

* [?foo.bar=baz] is the more canonical form of [?(@.foo.bar=baz)]. The
  former is built into jsonpath, the latter dips into the underlying
  implementation.

Change-Id: Ie6b5e0186533581815d04411ed7b321948464bb6
2017-07-17 13:04:48 +00:00
..
gabbits [placement] Update allocation-candidates.yaml for gabbi 1.35 2017-07-17 13:04:48 +00:00
__init__.py Add initial framing of placement API 2016-07-29 10:31:36 +00:00
fixtures.py [placement] Update allocation-candidates.yaml for gabbi 1.35 2017-07-17 13:04:48 +00:00
test_placement_api.py Merge "[placement] ensure that allow headers are native strings" 2016-10-07 12:09:26 +00:00
test_report_client.py placement project_id, user_id in PUT /allocations 2017-06-15 18:23:37 +00:00