diff --git a/cinder/tests/unit/volume/drivers/dell_emc/vnx/utils.py b/cinder/tests/unit/volume/drivers/dell_emc/vnx/utils.py index f771f99d644..bec99cdb107 100644 --- a/cinder/tests/unit/volume/drivers/dell_emc/vnx/utils.py +++ b/cinder/tests/unit/volume/drivers/dell_emc/vnx/utils.py @@ -34,7 +34,7 @@ def load_yaml(file_name): yaml_file = '{}/{}'.format(path.dirname( path.abspath(__file__)), file_name) with open(yaml_file) as f: - res = yaml.load(f) + res = yaml.safe_load(f) return res