[VVP] udpating scripts for casablanca 2
[vvp/validation-scripts.git] / ice_validator / tests / test_nova_servers_index.py
index 3ca99a0..9ce843a 100644 (file)
@@ -89,10 +89,10 @@ def test_indices(heat_templates):
                 bad[vm_type] = index_list
                 break
     assert not bad, (
-            'vm-type indices must be consecutive, unique,'
-            ' and start at 0.\n    %s' % (
-                    '\n    '.join(['Resource ID %s: VM Type: %s' % (x, y)
-                                   for x, y in types.items() if y in bad])))
+        'vm-type indices must be consecutive, unique,'
+        ' and start at 0.\n    %s' % (
+            '\n    '.join(['Resource ID %s: VM Type: %s' % (x, y)
+                           for x, y in types.items() if y in bad])))
 
 
 def get_indexed_resource_ids(resources):
@@ -117,3 +117,4 @@ def get_types(resources, indexed_resource_ids):
         if x and len(x) == 1:
             all_vm_types[rid] = list(x)[0]  # x is a set.
     return all_vm_types
+