Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

client: TestNewClientWithOpsFromEnv(): use sub-tests #44182

Merged

Commits on Sep 22, 2022

  1. client: TestNewClientWithOpsFromEnv(): use sub-tests

    Had this stashed as part of some other changes, so thought I'd push
    as a PR; with this patch:
    
        === RUN   TestNewClientWithOpsFromEnv/invalid_cert_path
        === RUN   TestNewClientWithOpsFromEnv/default_api_version_with_cert_path
        === RUN   TestNewClientWithOpsFromEnv/default_api_version_with_cert_path_and_tls_verify
        === RUN   TestNewClientWithOpsFromEnv/default_api_version_with_cert_path_and_host
        === RUN   TestNewClientWithOpsFromEnv/invalid_docker_host
        === RUN   TestNewClientWithOpsFromEnv/invalid_docker_host,_with_good_format
        === RUN   TestNewClientWithOpsFromEnv/override_api_version
        --- PASS: TestNewClientWithOpsFromEnv (0.00s)
            --- PASS: TestNewClientWithOpsFromEnv/default_api_version (0.00s)
            --- PASS: TestNewClientWithOpsFromEnv/invalid_cert_path (0.00s)
            --- PASS: TestNewClientWithOpsFromEnv/default_api_version_with_cert_path (0.00s)
            --- PASS: TestNewClientWithOpsFromEnv/default_api_version_with_cert_path_and_tls_verify (0.00s)
            --- PASS: TestNewClientWithOpsFromEnv/default_api_version_with_cert_path_and_host (0.00s)
            --- PASS: TestNewClientWithOpsFromEnv/invalid_docker_host (0.00s)
            --- PASS: TestNewClientWithOpsFromEnv/invalid_docker_host,_with_good_format (0.00s)
            --- PASS: TestNewClientWithOpsFromEnv/override_api_version (0.00s)
    PASS
    
    Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
    thaJeztah committed Sep 22, 2022
    Configuration menu
    Copy the full SHA
    0af7b49 View commit details
    Browse the repository at this point in the history