diff options
Diffstat (limited to 'python-dockering/tests/test_core.py')
-rw-r--r-- | python-dockering/tests/test_core.py | 3 |
1 files changed, 2 insertions, 1 deletions
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? |