diff options
author | Linda Wang <wangwulin@huawei.com> | 2018-03-15 01:20:58 +0000 |
---|---|---|
committer | Linda Wang <wangwulin@huawei.com> | 2018-03-21 01:47:39 +0000 |
commit | 9447a0f6fb4a7cedcfb168cf196890a452ce6a7c (patch) | |
tree | 4a4e1e4c8317ef3437ca5f694e3a1ad127a928d0 /functest_kubernetes/test_k8stest.py | |
parent | 2ea75eb18b47d27811aa74e871387236c7d4ed0f (diff) |
Remove KUBECONFIG from env vars
Change-Id: I85f4c01ceaf9cdadff7fe3d0f284f28da5727658
Signed-off-by: Linda Wang <wangwulin@huawei.com>
Diffstat (limited to 'functest_kubernetes/test_k8stest.py')
-rw-r--r-- | functest_kubernetes/test_k8stest.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/functest_kubernetes/test_k8stest.py b/functest_kubernetes/test_k8stest.py index 02c8f7e6..eb46ac83 100644 --- a/functest_kubernetes/test_k8stest.py +++ b/functest_kubernetes/test_k8stest.py @@ -23,7 +23,6 @@ class K8sTests(unittest.TestCase): def setUp(self): os.environ["DEPLOY_SCENARIO"] = "k8-test" - os.environ["KUBECONFIG"] = "/home/config" os.environ["KUBE_MASTER_IP"] = "127.0.0.1" os.environ["KUBE_MASTER_URL"] = "https://127.0.0.1:6443" os.environ["KUBERNETES_PROVIDER"] = "local" @@ -36,9 +35,6 @@ class K8sTests(unittest.TestCase): def test_no_deploy_scenario(self): self._test_no_env_var("DEPLOY_SCENARIO") - def test_no_kubeconfig(self): - self._test_no_env_var("KUBECONFIG") - def test_no_kube_master_ip(self): self._test_no_env_var("KUBE_MASTER_IP") |