From 0b0495cf84c2972a5a5e9ecc1bc5f0cd7ee24fe1 Mon Sep 17 00:00:00 2001 From: "Lovett, Trevor" Date: Wed, 10 Jun 2020 10:29:30 -0500 Subject: [PATCH] Fixed error message get_attr test Change-Id: I7eca403caa9e967f52250bd5b434523fbc177d09 Issue-ID: VVP-420 Signed-off-by: Lovett, Trevor --- ice_validator/tests/test_get_attr_usage.py | 4 ++-- 1 file 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) -- 2.16.6