oras.tests package ¶
Submodules ¶
oras.tests.test_oras module ¶
- oras.tests.test_oras. test_basic_oras ( registry ) [source] ¶
-
Basic tests for oras (without authentication)
- oras.tests.test_oras. test_basic_push_pul_via_sha_ref ( tmp_path , registry , credentials , target ) [source] ¶
-
Basic tests for oras pushing and then pulling with SHA reference
- oras.tests.test_oras. test_basic_push_pull ( tmp_path , registry , credentials , target ) [source] ¶
-
Basic tests for oras (without authentication)
- oras.tests.test_oras. test_custom_docker_config_path ( tmp_path , registry , credentials , target_dir ) [source] ¶
-
Custom docker config_path for login, push, pull
- oras.tests.test_oras. test_directory_push_pull ( tmp_path , registry , credentials , target_dir ) [source] ¶
-
Test push and pull for directory
- oras.tests.test_oras. test_directory_push_pull_selfsigned_auth ( tmp_path , registry , credentials , target_dir ) [source] ¶
-
Test push and pull for directory using a self-signed cert registry ( tls_verify=False ) and basic auth ( auth_backend=”basic” )
oras.tests.test_provider module ¶
- oras.tests.test_provider. test_annotated_registry_push ( tmp_path , registry , credentials , target ) [source] ¶
-
Basic tests for oras push with annotations
- oras.tests.test_provider. test_chunked_push ( tmp_path , registry , credentials , target ) [source] ¶
-
Basic tests for oras chunked push
- oras.tests.test_provider. test_file_contains_column ( tmp_path , registry , credentials , target ) [source] ¶
-
Test for file containing column symbol