aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichal Jagiello <michal.jagiello@t-mobile.pl>2023-07-14 08:01:45 +0000
committerMichal Jagiello <michal.jagiello@t-mobile.pl>2023-07-14 14:31:53 +0000
commit7d0468d3c4590fcb9d80dea83f8550dab39b35ae (patch)
tree251235dc19cb1a8599e8036f41cab697e7da423e
parentb1e1a5fa99e29b3ffc2bc48d11b163e28cbb7744 (diff)
Remove troubleshooting code
Remove line which breaks test Issue-ID: INT-982 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: Ib2661483d694e40484160365eb4f08f3a396e493
-rw-r--r--src/onaptests/scenario/cds_resource_resolution.py1
-rw-r--r--src/onaptests/templates/status/base.html.j22
2 files changed, 2 insertions, 1 deletions
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 %}