From: Cédric Ollivier Date: Mon, 27 Jan 2025 13:47:19 +0000 (+0100) Subject: Remove useless call to self.corev1.list_namespace X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=ee5ab5aa4fa079b170138f964d5125657c4f5dc3;p=functest-kubernetes.git Remove useless call to self.corev1.list_namespace It should have been removed in the previous change stopping creating namespaces. Change-Id: I1bb39ca9184a530b42f3cb4aa45423709e4090d3 Signed-off-by: Cédric Ollivier (cherry picked from commit cfc203dc22b8cf4e6088f5e21119f5bab94ccf9d) --- diff --git a/functest_kubernetes/cnf_conformance/conformance.py b/functest_kubernetes/cnf_conformance/conformance.py index b4907fe8..289a8f5a 100644 --- a/functest_kubernetes/cnf_conformance/conformance.py +++ b/functest_kubernetes/cnf_conformance/conformance.py @@ -65,7 +65,6 @@ class CNFConformance(testcase.TestCase): """Implement initialization and pre-reqs steps""" if os.path.exists(os.path.join(self.src_dir, "results")): shutil.rmtree(os.path.join(self.src_dir, "results")) - api_response = self.corev1.list_namespace() os.chdir(self.src_dir) cmd = ['cnf-testsuite', 'setup', '-l', 'debug'] try: