diff options
author | Chris Dent <cdent@anticdent.org> | 2017-07-17 13:28:36 +0100 |
---|---|---|
committer | Chris Dent <cdent@anticdent.org> | 2017-07-17 13:04:48 +0000 |
commit | 7792ba33a03d70ea7d0e0afb08fb16e34f9d2681 (patch) | |
tree | 3714d14de69c8c293324fc51086b8fdfa68af569 /test-requirements.txt | |
parent | 551fb91ebb906be62551ad078dea7b207fae5705 (diff) | |
download | nova-7792ba33a03d70ea7d0e0afb08fb16e34f9d2681.tar.gz |
[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
Diffstat (limited to 'test-requirements.txt')
-rw-r--r-- | test-requirements.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test-requirements.txt b/test-requirements.txt index c97fca36fe..3e3feb9053 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -26,7 +26,7 @@ testscenarios>=0.4 # Apache-2.0/BSD testtools>=1.4.0 # MIT bandit>=1.1.0 # Apache-2.0 openstackdocstheme>=1.11.0 # Apache-2.0 -gabbi>=1.30.0 # Apache-2.0 +gabbi>=1.35.0 # Apache-2.0 # vmwareapi driver specific dependencies oslo.vmware>=2.17.0 # Apache-2.0 |