Remove useless call to self.corev1.list_namespace 60/74760/1 stable/v1.29
authorCédric Ollivier <cedric.ollivier@orange.com>
Mon, 27 Jan 2025 13:47:19 +0000 (14:47 +0100)
committerCédric Ollivier <cedric.ollivier@orange.com>
Thu, 30 Jan 2025 15:41:16 +0000 (16:41 +0100)
It should have been removed in the previous change
stopping creating namespaces.

Change-Id: I1bb39ca9184a530b42f3cb4aa45423709e4090d3
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit cfc203dc22b8cf4e6088f5e21119f5bab94ccf9d)

functest_kubernetes/cnf_conformance/conformance.py

index b4907fe..289a8f5 100644 (file)
@@ -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: