diff options
Diffstat (limited to 'python-dockering/tests')
-rw-r--r-- | python-dockering/tests/test_config_building.py | 3 | ||||
-rw-r--r-- | python-dockering/tests/test_core.py | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/python-dockering/tests/test_config_building.py b/python-dockering/tests/test_config_building.py index ff1b409..16ecb58 100644 --- a/python-dockering/tests/test_config_building.py +++ b/python-dockering/tests/test_config_building.py @@ -93,7 +93,8 @@ def test_create_envs_healthcheck(): expected = { "SERVICE_CHECK_HTTPS": endpoint, "SERVICE_CHECK_INTERVAL": interval, - "SERVICE_CHECK_TIMEOUT": timeout + "SERVICE_CHECK_TIMEOUT": timeout, + "SERVICE_CHECK_TLS_SKIP_VERIFY": "true" } assert expected == doc.create_envs_healthcheck(docker_config) diff --git a/python-dockering/tests/test_core.py b/python-dockering/tests/test_core.py index f66f88c..76e027b 100644 --- a/python-dockering/tests/test_core.py +++ b/python-dockering/tests/test_core.py @@ -30,7 +30,8 @@ def test_create_client(): # Bad - Could not connect to docker engine with pytest.raises(DockerConnectionError): - doc.create_client("fake", 2376, reauth=True) + doc.create_client("fake", 2376, reauth=True, logins=[{ + "registry": "nowhere", "username": "bob", "password": "123"}]) # TODO: Does pytest provide an env file? |