From 7d0468d3c4590fcb9d80dea83f8550dab39b35ae Mon Sep 17 00:00:00 2001 From: Michal Jagiello Date: Fri, 14 Jul 2023 08:01:45 +0000 Subject: Remove troubleshooting code Remove line which breaks test Issue-ID: INT-982 Signed-off-by: Michal Jagiello Change-Id: Ib2661483d694e40484160365eb4f08f3a396e493 --- src/onaptests/scenario/cds_resource_resolution.py | 1 + src/onaptests/templates/status/base.html.j2 | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/onaptests/scenario/cds_resource_resolution.py b/src/onaptests/scenario/cds_resource_resolution.py index 7bf2f94..90e3dc5 100644 --- a/src/onaptests/scenario/cds_resource_resolution.py +++ b/src/onaptests/scenario/cds_resource_resolution.py @@ -14,6 +14,7 @@ from onaptests.steps.simulator.cds_mockserver import \ from onaptests.utils.exceptions import OnapTestException + class CDSResourceResolutionStep(BaseStep): """Step created to run scenario and generate report.""" diff --git a/src/onaptests/templates/status/base.html.j2 b/src/onaptests/templates/status/base.html.j2 index 1a49e05..87c85ff 100644 --- a/src/onaptests/templates/status/base.html.j2 +++ b/src/onaptests/templates/status/base.html.j2 @@ -97,7 +97,7 @@ is-danger {% if k8s.spec.selector.match_labels %} {{ key_value_description_list('Selector', k8s.spec.selector.match_labels) | indent(width=6) }} {% else %} - {{ key_value_description_list('Selector', k8s.spec.selector.to_dict()) | indent(width=6) }} + {{ key_value_description_list('Selector', {}) | indent(width=6) }} {% endif %} {% endif %} {% if k8s.phase %} -- cgit 1.2.3-korg