From b422cf9d71f38ee7b2e8dd4dc4c95ab4f009ac65 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Mu=C3=9Fler?= Date: Wed, 21 Oct 2020 18:10:20 +0200 Subject: [PATCH] Comments updated. --- e2e/tests/k8s_api.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/e2e/tests/k8s_api.py b/e2e/tests/k8s_api.py index ef38d35b0..ac38b6438 100644 --- a/e2e/tests/k8s_api.py +++ b/e2e/tests/k8s_api.py @@ -239,8 +239,7 @@ class K8s: class K8sBase: ''' - To not fix all it once it is a copy of above - Wraps around K8s api client and helper methods. + K8s basic API wrapper class supposed to be inherited by other more specific classes for e2e tests ''' RETRY_TIMEOUT_SEC = 1 @@ -442,6 +441,9 @@ class K8sBase: return pod.items[0].spec.containers[0].image +""" + Inspiriational classes towards easier writing of end to end tests with one cluster per test case +""" class K8sOperator(K8sBase): def __init__(self, labels="name=postgres-operator", namespace="default"): super().__init__(labels, namespace)