diff options
Diffstat (limited to 'testcases/VIM')
-rw-r--r-- | testcases/VIM/OpenStack/CI/libraries/clean_openstack.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testcases/VIM/OpenStack/CI/libraries/clean_openstack.py b/testcases/VIM/OpenStack/CI/libraries/clean_openstack.py index 5d76a70b..4dadcbfb 100644 --- a/testcases/VIM/OpenStack/CI/libraries/clean_openstack.py +++ b/testcases/VIM/OpenStack/CI/libraries/clean_openstack.py @@ -115,7 +115,7 @@ def remove_volumes(cinder_client, nova_client): time.sleep(1) volumes = functest_utils.get_volumes(cinder_client) - if len(volumes) == 0: + if volumes is None or len(volumes) == 0: logger.debug("No volumes found.") return |