Fixes for scaling proxy and native charm
[osm/N2VC.git] / tests / base.py
index c7dad6d..aabf359 100644 (file)
@@ -108,7 +108,7 @@ def has_metrics(charm):
 def get_descriptor(descriptor):
     desc = None
     try:
-        tmp = yaml.load(descriptor)
+        tmp = yaml.safe_load(descriptor)
 
         # Remove the envelope
         root = list(tmp.keys())[0]