aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 %}