diff options
author | Lokur, Manish <manish.shivakumar.lokur@att.com> | 2019-06-06 21:12:48 +0000 |
---|---|---|
committer | Lokur, Manish <manish.shivakumar.lokur@att.com> | 2019-06-06 21:12:48 +0000 |
commit | f9d14fe48a6b175f059baa21b70732df967c9855 (patch) | |
tree | b6f45aff46355a54ec89a8c10f57badd5aedb052 /ice_validator | |
parent | 4151a1dd63510dcdc0ffadc4c49a1eff38472dc5 (diff) |
[VVP] Adding resource ID to error message
Issue-ID: VVP-224
Signed-off-by: Lokur, Manish <manish.shivakumar.lokur@att.com>
Change-Id: I36f5033220593ea574d96c991fb1a07994089ef4
Diffstat (limited to 'ice_validator')
-rw-r--r-- | ice_validator/tests/utils/ports.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ice_validator/tests/utils/ports.py b/ice_validator/tests/utils/ports.py index 8c25df7..d65202c 100644 --- a/ice_validator/tests/utils/ports.py +++ b/ice_validator/tests/utils/ports.py @@ -141,10 +141,10 @@ def check_parameter_format( regx_dict = regx[resource_intext].get(parameter_type) if not regx_dict: msg = ( - "{} {} parameter {} defined as type {} " + "{} {} {} parameter {} defined as type {} " "which is required by platform data model for proper " "assignment and inventory." - ).format(resource_type, properties, parameter, parameter_type) + ).format(resource_type, rid, properties, parameter, parameter_type) if exemptions_allowed: msg = "WARNING: {} {}".format(msg, AAP_EXEMPT_CAVEAT) invalid_parameters.append(msg) |