diff options
Diffstat (limited to 'k8s/tests')
-rw-r--r-- | k8s/tests/test_tasks.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/k8s/tests/test_tasks.py b/k8s/tests/test_tasks.py index 948489a..cf78860 100644 --- a/k8s/tests/test_tasks.py +++ b/k8s/tests/test_tasks.py @@ -247,7 +247,7 @@ def test_enhance_docker_params(mockconfig): test_kwargs = { "docker_config": {}, "service_id": None } actual = tasks._enhance_docker_params(**test_kwargs) - assert actual == {'envs': {"SERVICE_TAGS": ""}, 'docker_config': {}, "service_id": None } + assert actual == {'envs': {"SERVICE_TAGS": ""}, 'docker_config': {}, 'ports': [], 'volumes': [], "service_id": None } # Good - Test just docker config ports and volumes @@ -289,4 +289,4 @@ def test_notify_container(mockconfig): from k8splugin import tasks test_input = { "docker_config": { "policy": { "trigger_type": "unknown" } } } - assert [] == tasks._notify_container(**test_input)
\ No newline at end of file + assert [] == tasks._notify_container(**test_input) |