aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--functest_kubernetes/cnf_conformance/conformance.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/functest_kubernetes/cnf_conformance/conformance.py b/functest_kubernetes/cnf_conformance/conformance.py
index 1c72a05d..b578ce22 100644
--- a/functest_kubernetes/cnf_conformance/conformance.py
+++ b/functest_kubernetes/cnf_conformance/conformance.py
@@ -65,8 +65,8 @@ class CNFConformance(testcase.TestCase):
shutil.rmtree(os.path.join(self.src_dir, "results"))
api_response = self.corev1.list_namespace()
for namespace in ["cnf-testsuite", "default", "litmus"]:
- for ns in api_response.items:
- if ns.metadata.name == namespace:
+ for item in api_response.items:
+ if item.metadata.name == namespace:
self.corev1.patch_namespace(
namespace,
client.V1Namespace(metadata=client.V1ObjectMeta(