aboutsummaryrefslogtreecommitdiffstats
path: root/ice_validator/tests
diff options
context:
space:
mode:
authorLovett, Trevor <trevor.lovett@att.com>2020-06-10 10:29:30 -0500
committerLovett, Trevor <trevor.lovett@att.com>2020-06-10 10:33:10 -0500
commit0b0495cf84c2972a5a5e9ecc1bc5f0cd7ee24fe1 (patch)
treefdb11399721d44b6398f53122fb3114a7e8dbbca /ice_validator/tests
parent4b53cbbf12894610774b5e024cecb0d4e395aad3 (diff)
Fixed error message get_attr test
Change-Id: I7eca403caa9e967f52250bd5b434523fbc177d09 Issue-ID: VVP-420 Signed-off-by: Lovett, Trevor <trevor.lovett@att.com>
Diffstat (limited to 'ice_validator/tests')
-rw-r--r--ice_validator/tests/test_get_attr_usage.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/ice_validator/tests/test_get_attr_usage.py b/ice_validator/tests/test_get_attr_usage.py
index 5180add..e7adf64 100644
--- a/ice_validator/tests/test_get_attr_usage.py
+++ b/ice_validator/tests/test_get_attr_usage.py
@@ -60,12 +60,12 @@ class GetAttrValidator:
)
def add_error(self, path, arg, message):
- path_str = ".".join(path)
+ path_str = ".".join(map(str, path))
self.errors.append("{} {}: {}".format(path_str, arg, message))
@property
def error_message(self):
- errs = ", ".join(self.errors)
+ errs = "\n".join(self.errors)
return "Invalid get_attr usage detected: {}".format(errs)