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=refs%2Fchanges%2F26%2F74726%2F1;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: I6322ccc5206b6fac074bf922c5b6cd59a2f7b10d Signed-off-by: Cédric Ollivier --- diff --git a/functest_kubernetes/cnf_conformance/conformance.py b/functest_kubernetes/cnf_conformance/conformance.py index bd98e0e4..ab264b34 100644 --- a/functest_kubernetes/cnf_conformance/conformance.py +++ b/functest_kubernetes/cnf_conformance/conformance.py @@ -63,7 +63,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: