Network check HTML report
- uniform map generation
- POC for additional checks on env
Change-Id: I52edcc94f4d9826cbfb1159e5311514097a15f62
Related-PROD: PROD-32792
diff --git a/cfg_checker/helpers/errors.py b/cfg_checker/helpers/errors.py
index 83ae803..95e1495 100644
--- a/cfg_checker/helpers/errors.py
+++ b/cfg_checker/helpers/errors.py
@@ -102,12 +102,12 @@
# format message
_msg = "### {}:\n Description: {}\n{}".format(
_code,
- self._get_error_type_text(self._errors[index]['type']),
+ self.get_error_type_text(self._errors[index]['type']),
"\n".join(_data)
)
return _msg
- def _get_error_type_text(self, err_type):
+ def get_error_type_text(self, err_type):
if err_type not in self._types:
raise ErrorMappingException(
"type code {} not found".format(err_type)