Skip to content

Commit 0cba180

Browse files
committed
ReadWriteOnce and PVC Bound tested
Signed-off-by: Katharina Trentau <[email protected]>
1 parent 36d888a commit 0cba180

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Tests/kaas/k8s-default-storage-class/k8s-default-storage-class-check.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ def __exit__(self, exc_type, exc_value, traceback):
304304
f"SCSTestException occurred with return_code: {self.return_code}"
305305
)
306306
else:
307-
# No specific exception, handle normally
307+
# No specific exception, handle normally returnmessage aus exception übernehmen, dann kann return_code
308308
logger.debug(f"Exiting the context with return_code: {self.return_code}")
309309
logger.debug(f"{self.return_message}")
310310

@@ -348,11 +348,11 @@ def main(argv):
348348
try:
349349
logger.debug("check_default_storageclass()")
350350
default_class_name = check_default_storageclass(env.k8s_storage_api)
351-
except SCSTestException as test_exception:
351+
except SCSTestException as test_exception: # delete
352352
logger.error(f"L{inspect.currentframe().f_lineno} {test_exception}")
353353
env.return_message = f"{test_exception}"
354354
env.return_code = test_exception.return_code
355-
except Exception as exception_message:
355+
except Exception as exception_message: # nochmal prüfen ob SCSTest spezifischer
356356
logger.error(f"L{inspect.currentframe().f_lineno} {exception_message}")
357357
env.return_message = f"{exception_message}"
358358
env.return_code = 1

0 commit comments

Comments
 (0)