Skip to content

Commit dddf9ef

Browse files
Fix gen_sonobuoy_result_file
Signed-off-by: michal.gubricky <[email protected]>
1 parent ef46e2d commit dddf9ef

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
import time
2626
import json
2727
import logging
28+
import os
2829

2930
from kubernetes import client
3031
from helper import gen_sonobuoy_result_file
@@ -259,7 +260,7 @@ def main(argv):
259260
if return_code == 0:
260261
return_message = "all tests passed"
261262

262-
gen_sonobuoy_result_file(return_code, return_message, __file__)
263+
gen_sonobuoy_result_file(return_code, return_message, os.path.basename(__file__))
263264

264265
return return_code
265266

0 commit comments

Comments
 (0)