aboutsummaryrefslogtreecommitdiffstats
path: root/ice_validator/tests/utils/yaml_custom_utils.py
diff options
context:
space:
mode:
authorstark, steven <steven.stark@att.com>2018-12-17 12:43:02 -0800
committerstark, steven <steven.stark@att.com>2018-12-17 13:04:00 -0800
commit1f4df7c7ad27b23773ad9cdbe4db1632ce388cf1 (patch)
tree8092104f8be23051ff81c9f71ee34116df4d33ba /ice_validator/tests/utils/yaml_custom_utils.py
parentca9085f0f77d442d3741a8c754e65cc45b6a318d (diff)
[VVP] updating validation scripts in dublin
- adding backlog of new validation scripts for dublin - updating existing tests - removing outdated tests Issue-ID: VVP-123 Change-Id: Ib8260889ac957c1dd28d8ede450fc8edc6fb0ec0 Signed-off-by: stark, steven <steven.stark@att.com>
Diffstat (limited to 'ice_validator/tests/utils/yaml_custom_utils.py')
-rw-r--r--ice_validator/tests/utils/yaml_custom_utils.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/ice_validator/tests/utils/yaml_custom_utils.py b/ice_validator/tests/utils/yaml_custom_utils.py
index 8a5006c..1e4b0e5 100644
--- a/ice_validator/tests/utils/yaml_custom_utils.py
+++ b/ice_validator/tests/utils/yaml_custom_utils.py
@@ -50,8 +50,11 @@ def raise_duplicates_keys(loader, node, deep=False):
value = loader.construct_object(value_node, deep=deep)
if key in mapping:
raise ConstructorError(
- "while constructing a mapping", node.start_mark,
- "found duplicate key (%s)" % key, key_node.start_mark)
+ "while constructing a mapping",
+ node.start_mark,
+ "found duplicate key (%s)" % key,
+ key_node.start_mark,
+ )
mapping[key] = value
return loader.construct_mapping(node, deep)