diff options
author | stark, steven <ss820f@att.com> | 2018-09-14 07:55:49 -0700 |
---|---|---|
committer | stark, steven <ss820f@att.com> | 2018-09-14 07:55:49 -0700 |
commit | 60d5ad7d00eadd6395eca186e6fa76a43df3c6cf (patch) | |
tree | 95d83d0a70a948707ead37800bc547da7f5861b2 /ice_validator/tests/test_vm_type_resource_id.py | |
parent | 31d5da59b39d38760cc519a2c5e5b70357b539e8 (diff) |
[VVP] udpating scripts for casablanca 2
adding scripts updates
adding docrators for sections 5.2.6 - end
closes out VVP 80
Change-Id: Iecac476949aa3ae3982f8c77671869583eb313d6
Issue-ID: VVP-80
Signed-off-by: stark, steven <ss820f@att.com>
Diffstat (limited to 'ice_validator/tests/test_vm_type_resource_id.py')
-rw-r--r-- | ice_validator/tests/test_vm_type_resource_id.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/ice_validator/tests/test_vm_type_resource_id.py b/ice_validator/tests/test_vm_type_resource_id.py index 39a11ef..beb6745 100644 --- a/ice_validator/tests/test_vm_type_resource_id.py +++ b/ice_validator/tests/test_vm_type_resource_id.py @@ -68,6 +68,8 @@ def test_vm_type_resource_id(heat_template): for rid in h.resources: lower_rid = rid.lower() for vm_type, lower_vm_type in vm_types.items(): - if lower_rid.startswith(lower_vm_type) and not rid.startswith(vm_type): - bad[rid] = vm_type + if (lower_rid.startswith(lower_vm_type) + and not rid.startswith(vm_type)): + bad[rid] = vm_type assert not bad, 'resource_id which do not match their vm-type %s' % bad + |