diff options
Diffstat (limited to 'functest_kubernetes/k8stest.py')
-rw-r--r-- | functest_kubernetes/k8stest.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/functest_kubernetes/k8stest.py b/functest_kubernetes/k8stest.py index eced6f65..fd076bc2 100644 --- a/functest_kubernetes/k8stest.py +++ b/functest_kubernetes/k8stest.py @@ -16,6 +16,7 @@ from __future__ import division import logging import os +from pathlib import Path import re import subprocess import time @@ -30,7 +31,7 @@ class E2ETesting(testcase.TestCase): __logger = logging.getLogger(__name__) - config = '~/.kube/config' + config = f'{Path.home()}/.kube/config' gcr_repo = os.getenv("MIRROR_REPO", "gcr.io") k8s_gcr_repo = os.getenv("MIRROR_REPO", "k8s.gcr.io") |