We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 87e967b commit f875249Copy full SHA for f875249
core/tests/test_auth.py
@@ -7,6 +7,7 @@
7
def test_parse_docker_auth_config_encoded():
8
auth_config_json = '{"auths":{"https://index.docker.io/v1/":{"auth":"dXNlcm5hbWU6cGFzc3dvcmQ="}}}'
9
auth_info = parse_docker_auth_config(auth_config_json)
10
+ assert auth_info
11
assert len(auth_info) == 1
12
assert auth_info[0] == DockerAuthInfo(
13
registry="https://index.docker.io/v1/",
@@ -37,6 +38,7 @@ def test_parse_docker_auth_config_encoded_multiple():
37
38
}
39
auth_config_json = json.dumps(auth_dict)
40
41
42
assert len(auth_info) == 3
43
44
registry="localhost:5000",
0 commit comments