Skip to content

Commit f875249

Browse files
committed
fix test
1 parent 87e967b commit f875249

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

core/tests/test_auth.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
def test_parse_docker_auth_config_encoded():
88
auth_config_json = '{"auths":{"https://index.docker.io/v1/":{"auth":"dXNlcm5hbWU6cGFzc3dvcmQ="}}}'
99
auth_info = parse_docker_auth_config(auth_config_json)
10+
assert auth_info
1011
assert len(auth_info) == 1
1112
assert auth_info[0] == DockerAuthInfo(
1213
registry="https://index.docker.io/v1/",
@@ -37,6 +38,7 @@ def test_parse_docker_auth_config_encoded_multiple():
3738
}
3839
auth_config_json = json.dumps(auth_dict)
3940
auth_info = parse_docker_auth_config(auth_config_json)
41+
assert auth_info
4042
assert len(auth_info) == 3
4143
assert auth_info[0] == DockerAuthInfo(
4244
registry="localhost:5000",

0 commit comments

Comments
 (0)