Merge "Adding cleanup script"

This commit is contained in:
Jenkins
2016-08-05 11:15:21 +00:00
committed by Gerrit Code Review
7 changed files with 269 additions and 3 deletions

View File

@@ -46,7 +46,7 @@ class TestKubernetes(base.TestCase):
kubernetes.create_object_from_definition(
deployment_dict, client=mock.Mock())
api.create_namespaced_deployment.assert_called_once_with(
body=deployment_dict, namespace='default')
body=deployment_dict, namespace='ccp')
@mock.patch('k8sclient.client.apis.apiv_api.ApivApi')
def test_create_service(self, api_v1):
@@ -61,4 +61,4 @@ class TestKubernetes(base.TestCase):
service_dict, client=mock.Mock())
api.create_namespaced_service.assert_called_once_with(
body=service_dict, namespace='default')
body=service_dict, namespace='ccp')