aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukasz Rajewski <lukasz.rajewski@t-mobile.pl>2023-07-18 19:02:15 +0000
committerLukasz Rajewski <lukasz.rajewski@t-mobile.pl>2023-07-18 19:02:15 +0000
commit2ffd98c9d0b85b7c6c6b0bf61cd9e848234914ce (patch)
treebc87f4edeaae0b3a684fd0f3a12b63bdadf14e65
parent38bf8bc7d385f1ee984df857f1d9231ce15cbbb5 (diff)
Fix issue in status check after pylama fixxes addition
Issue-ID: INT-2222 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@t-mobile.pl> Change-Id: Ia68eda6517295ba3916e585403ff7bcc3453b99c
-rw-r--r--src/onaptests/scenario/cds_resource_resolution.py1
-rw-r--r--src/onaptests/steps/cloud/check_status.py2
2 files changed, 1 insertions, 2 deletions
diff --git a/src/onaptests/scenario/cds_resource_resolution.py b/src/onaptests/scenario/cds_resource_resolution.py
index 675b135..470f030 100644
--- a/src/onaptests/scenario/cds_resource_resolution.py
+++ b/src/onaptests/scenario/cds_resource_resolution.py
@@ -14,7 +14,6 @@ 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/steps/cloud/check_status.py b/src/onaptests/steps/cloud/check_status.py
index 2b5a8df..168c212 100644
--- a/src/onaptests/steps/cloud/check_status.py
+++ b/src/onaptests/steps/cloud/check_status.py
@@ -176,7 +176,7 @@ class CheckK8sPvcsStep(CheckK8sResourcesStep):
super()._parse_resources()
for k8s in self.k8s_resources:
pvc = Pvc(k8s=k8s)
- field_selector = (f"involvedObject.name={pvc.name}, "
+ field_selector = (f"involvedObject.name={pvc.name},"
"involvedObject.kind=PersistentVolumeClaim")
pvc.events = self.core.list_namespaced_event(
NAMESPACE,