Skip to content

Commit 232aec7

Browse files
committed
Revert "check for dir back"
This reverts commit 1092abe.
1 parent 24760a7 commit 232aec7

File tree

1 file changed

+0
-4
lines changed
  • Tests/kaas/k8s-default-storage-class

1 file changed

+0
-4
lines changed

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

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
import sys
33
import logging
44
from kubernetes import client, config
5-
import os
65

76
manual_result_file_template = {
87
"name": None,
@@ -71,8 +70,5 @@ def gen_sonobuoy_result_file(error_n: int, error_msg: str, test_file_name: str):
7170
result_file["status"] = test_status
7271
result_file["details"]["messages"] = error_msg
7372

74-
directory_path = os.path.dirname(f"./{test_name}.result.yaml")
75-
os.makedirs(directory_path, exist_ok=True)
76-
7773
with open(f"./{test_name}.result.yaml", "w") as file:
7874
yaml.dump(result_file, file)

0 commit comments

Comments
 (0)