summaryrefslogtreecommitdiffstats
path: root/k8s/tests/test_tasks.py
diff options
context:
space:
mode:
Diffstat (limited to 'k8s/tests/test_tasks.py')
-rw-r--r--k8s/tests/test_tasks.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/k8s/tests/test_tasks.py b/k8s/tests/test_tasks.py
index cf78860..d56a443 100644
--- a/k8s/tests/test_tasks.py
+++ b/k8s/tests/test_tasks.py
@@ -1,7 +1,7 @@
# ============LICENSE_START=======================================================
# org.onap.dcae
# ================================================================================
-# Copyright (c) 2017-2018 AT&T Intellectual Property. All rights reserved.
+# Copyright (c) 2017-2019 AT&T Intellectual Property. All rights reserved.
# ================================================================================
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -194,21 +194,21 @@ def test_verify_container(monkeypatch, mockconfig):
from k8splugin import tasks
from k8splugin.exceptions import DockerPluginDeploymentError
- def fake_is_available_success(ch, scn):
+ def fake_is_available_success(loc, ch, scn):
return True
monkeypatch.setattr(k8sclient, "is_available",
fake_is_available_success)
- assert tasks._verify_k8s_deployment("some-name", 3)
+ assert tasks._verify_k8s_deployment("some-location","some-name", 3)
- def fake_is_available_never_good(ch, scn):
+ def fake_is_available_never_good(loc, ch, scn):
return False
monkeypatch.setattr(k8sclient, "is_available",
fake_is_available_never_good)
- assert not tasks._verify_k8s_deployment("some-name", 2)
+ assert not tasks._verify_k8s_deployment("some-location", "some-name", 2)
def test_update_delivery_url(monkeypatch, mockconfig):