summaryrefslogtreecommitdiffstats
path: root/k8s/tests/test_tasks.py
diff options
context:
space:
mode:
authorMichael Hwang <mhwang@research.att.com>2018-07-18 20:32:08 +0000
committerGerrit Code Review <gerrit@onap.org>2018-07-18 20:32:08 +0000
commit926eb8c21979a6972838dae8e9de29903d1b26f1 (patch)
tree31760d1f8c8cf6d27b3f294b22b5067f135e366f /k8s/tests/test_tasks.py
parent719a5c0ce0a49cb156993fb0aeabfb3dd49b50a6 (diff)
parent4fbbe8f6279c7c9b1e66c7b85f0ecbfa558d4c98 (diff)
Merge "Add support for updating image."
Diffstat (limited to 'k8s/tests/test_tasks.py')
-rw-r--r--k8s/tests/test_tasks.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/k8s/tests/test_tasks.py b/k8s/tests/test_tasks.py
index 4d0aa90..077a940 100644
--- a/k8s/tests/test_tasks.py
+++ b/k8s/tests/test_tasks.py
@@ -190,10 +190,10 @@ def test_lookup_service(monkeypatch, mockconfig):
def test_verify_container(monkeypatch, mockconfig):
- from k8sclient import k8sclient
+ import k8sclient
from k8splugin import tasks
from k8splugin.exceptions import DockerPluginDeploymentError
-
+
def fake_is_available_success(ch, scn):
return True
@@ -273,7 +273,7 @@ def test_enhance_docker_params(mockconfig):
assert actual == {'envs': {"SERVICE_TAGS": ""}, 'docker_config': {'ports': ['1:1', '2:2'],
'volumes': [{'host': 'somewhere else', 'container': 'somewhere'}]},
- 'ports': ['1:1', '2:2', '3:3', '4:4'], 'volumes': [{'host': 'somewhere else',
+ 'ports': ['1:1', '2:2', '3:3', '4:4'], 'volumes': [{'host': 'somewhere else',
'container': 'somewhere'}, {'host': 'nowhere else', 'container':
'nowhere'}], "service_id": None}