bugfix: update cinder quota strange space 83/6883/1
authorboucherv <valentin.boucher@orange.com>
Fri, 15 Jan 2016 15:37:47 +0000 (16:37 +0100)
committerboucherv <valentin.boucher@orange.com>
Fri, 15 Jan 2016 15:37:47 +0000 (16:37 +0100)
Change-Id: I984be5267a3492c4d3b5922a982aed0ad94e7c5b
Signed-off-by: boucherv <valentin.boucher@orange.com>
testcases/functest_utils.py
testcases/vIMS/CI/vIMS.py

index a104182..baab415 100644 (file)
@@ -344,7 +344,7 @@ def update_cinder_quota(cinder_client, tenant_id, vols_quota,
                      "gigabytes": gigabytes_quota}
 
     try:
-        quotas_default = cinder_client. quotas.update(tenant_id,
+        quotas_default = cinder_client.quotas.update(tenant_id,
                                                       **quotas_values)
         return True
     except:
index 7a2d197..eae821a 100644 (file)
@@ -291,7 +291,7 @@ def main():
                                         creds_cinder['project_id'],
                                         creds_cinder['auth_url'],
                                         service_type="volume")
-    if not functest_utils.update_cinder_quota(cinder_client, tenant_id, 20, 50, 1500):
+    if not functest_utils.update_cinder_quota(cinder_client, tenant_id, 20, 10, 150):
         logger.error("Failed to update cinder quota for tenant %s" %
                      TENANT_NAME)
         exit(-1)