Code Review
/
vvp
/
validation-scripts.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
[VVP] udpating scripts for casablanca 2
[vvp/validation-scripts.git]
/
ice_validator
/
tests
/
test_vm_type_resource_id.py
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
(file)
--- 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():
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
assert not bad, 'resource_id which do not match their vm-type %s' % bad
+