Skip to content

Commit 6709805

Browse files
committed
tesing: use a temporary directory
1 parent 2c15b6c commit 6709805

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/namespace_admin_test.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ def __init__(self):
2626

2727
def run_test(self):
2828
try:
29+
os.chdir(self.tmpdir)
30+
self.log.info(f"Running test in: {self.tmpdir}")
2931
self.setup_namespaces()
3032
self.current_context = get_kubeconfig_value("{.current-context}")
3133
self.setup_service_accounts()

0 commit comments

Comments
 (0)