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=cfc203dc22b8cf4e6088f5e21119f5bab94ccf9d;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: