def test_path_exists_svc(self): client = KubernetesClient() svc = client.get_services() svc1 = svc[0] kp = KubePath() kp.parse_path('/default/svc/%s/describe' % svc1) assert_that(kp.exists(client), is_(True))
def test_get_services(self): client = KubernetesClient() svc = client.get_services('default') assert_that(len(svc), is_(4))
def test_get_services(self): client = KubernetesClient() svc = client.get_services('default') assert_that(len(svc), is_(4))