Merge "Add pylama into checks"
authorLukasz Rajewski <lukasz.rajewski@t-mobile.pl>
Tue, 18 Jul 2023 06:39:55 +0000 (06:39 +0000)
committerGerrit Code Review <gerrit@onap.org>
Tue, 18 Jul 2023 06:39:55 +0000 (06:39 +0000)
src/onaptests/scenario/cds_resource_resolution.py
src/onaptests/templates/status/base.html.j2

index 470f030..675b135 100644 (file)
@@ -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."""
 
index 1a49e05..87c85ff 100644 (file)
@@ -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 %}