Ejemplo n.º 1
0
 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))
Ejemplo n.º 2
0
 def test_get_services(self):
     client = KubernetesClient()
     svc = client.get_services('default')
     assert_that(len(svc), is_(4))
Ejemplo n.º 3
0
 def test_get_services(self):
     client = KubernetesClient()
     svc = client.get_services('default')
     assert_that(len(svc), is_(4))