Skip to content

Commit be2c002

Browse files
committed
added cleanup() as subfunction to check_default_persistentvolumeclaim_readwriteonce()
Signed-off-by: Katharina Trentau <[email protected]>
1 parent e7e9a11 commit be2c002

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ def check_default_persistentvolumeclaim_readwriteonce(k8s_api_instance, storage_
7979
3. Check if PV got succesfully created using ReadWriteOnce
8080
4. Delete resources used for testing
8181
"""
82+
8283
# 0. Define CleanUp
8384
def cleanup():
8485
logger.debug(f"delete pod:{pod_name}")
@@ -88,7 +89,6 @@ def cleanup():
8889
pvc_name, namespace
8990
)
9091

91-
9292
namespace = "default"
9393
pvc_name = "test-pvc"
9494
pv_name = "test-pv"

0 commit comments

Comments
 (0)