diff options
Diffstat (limited to 'k8s/tests/test_tasks.py')
-rw-r--r-- | k8s/tests/test_tasks.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/k8s/tests/test_tasks.py b/k8s/tests/test_tasks.py index b82a4ae..50a3325 100644 --- a/k8s/tests/test_tasks.py +++ b/k8s/tests/test_tasks.py @@ -149,15 +149,15 @@ def test_enhance_docker_params(mockconfig): # Good - Test just docker config ports and volumes - test_kwargs = { "docker_config": { "ports": ["1:1", "2:2"], + test_kwargs = { "docker_config": { "ports": [{u'concat': [u'8080', u':', 0], u'ipv6': True}, "1:1"], "volumes": [{"container": "somewhere", "host": "somewhere else"}] }, "service_id": None } actual = tasks._enhance_docker_params(**test_kwargs) - assert actual == {'envs': {}, 'docker_config': {'ports': ['1:1', '2:2'], + assert actual == {'envs': {}, 'docker_config': {'ports': [{u'concat': [u'8080', u':', 0], u'ipv6': True}, "1:1"], 'volumes': [{'host': 'somewhere else', 'container': 'somewhere'}]}, - 'ports': ['1:1', '2:2'], 'volumes': [{'host': 'somewhere else', - 'container': 'somewhere'}], "service_id": None} + 'ports': [{u'concat': [u'8080', u':', 0], u'ipv6': True}, "1:1"], 'volumes': [{'host': 'somewhere else', + 'container': 'somewhere'}], "service_id": None} # Good - Test just docker config ports and volumes with overrrides |