aboutsummaryrefslogtreecommitdiffstats
path: root/ice_validator/tests/cached_yaml.py
diff options
context:
space:
mode:
authorLovett, Trevor <trevor.lovett@att.com>2019-07-23 18:09:09 -0500
committerLovett, Trevor (tl2972) <tl2972@att.com>2019-07-24 08:13:17 -0500
commitb395eb5bb6c79558202a3d414982a56fac7c9e1d (patch)
treefee89beee0b19a0a15ae79037024e4a8edb64aaf /ice_validator/tests/cached_yaml.py
parentddba4856fc7e3d844e9e763d44ce97207a1f23bd (diff)
[VVP] Adding bandit security scans and fixes
Issue-ID: VVP-244 Change-Id: Ia782f4cc7bf5a379ff8cdcce96cd2e7235998345 Signed-off-by: Lovett, Trevor <trevor.lovett@att.com>
Diffstat (limited to 'ice_validator/tests/cached_yaml.py')
-rw-r--r--ice_validator/tests/cached_yaml.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/ice_validator/tests/cached_yaml.py b/ice_validator/tests/cached_yaml.py
index 1b977a6..196d9b8 100644
--- a/ice_validator/tests/cached_yaml.py
+++ b/ice_validator/tests/cached_yaml.py
@@ -55,3 +55,6 @@ def load(fp):
if abs_path not in YAML_CACHE:
YAML_CACHE[abs_path] = yaml.safe_load(fp)
return YAML_CACHE[abs_path]
+
+
+safe_load = load