Skip to content

Commit

Permalink
keep: test use basic
Browse files Browse the repository at this point in the history
Signed-off-by: tarilabs <[email protected]>
  • Loading branch information
tarilabs committed Oct 20, 2024
1 parent 2089de9 commit 5c73993
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion oras/tests/test_oras.py
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,9 @@ def test_custom_docker_config_path(tmp_path, registry, credentials, target_dir):
Custom docker config_path for login, push, pull
"""
my_dockercfg_path = tmp_path / "myconfig.json"
client = oras.client.OrasClient(hostname=registry, tls_verify=False)
client = oras.client.OrasClient(
hostname=registry, tls_verify=False, auth_backend="basic"
)
res = client.login(
hostname=registry,
tls_verify=False,
Expand Down

0 comments on commit 5c73993

Please sign in to comment.