test_api_rejects_subscription_status (test_auth.AuthContractTests.test_api_rejects_subscription_status) ... ok
test_api_status_accepts_only_expected_key_source (test_auth.AuthContractTests.test_api_status_accepts_only_expected_key_source) ... ok
test_invalid_status_error_does_not_echo_untrusted_values (test_auth.AuthContractTests.test_invalid_status_error_does_not_echo_untrusted_values) ... ok
test_no_login_and_unknown_status_fail_closed (test_auth.AuthContractTests.test_no_login_and_unknown_status_fail_closed) ... ok
test_other_provider_is_rejected (test_auth.AuthContractTests.test_other_provider_is_rejected) ... ok
test_redactor_removes_known_keys_and_tokens (test_auth.AuthContractTests.test_redactor_removes_known_keys_and_tokens) ... ok
test_status_accepts_both_subscription_cli_shapes (test_auth.AuthContractTests.test_status_accepts_both_subscription_cli_shapes) ... ok
test_subscription_rejects_api_console_gateway_and_unknown_methods (test_auth.AuthContractTests.test_subscription_rejects_api_console_gateway_and_unknown_methods) ... ok
test_subscription_status_with_api_key_source_is_rejected (test_auth.AuthContractTests.test_subscription_status_with_api_key_source_is_rejected) ... ok
test_api_has_private_home_and_never_uses_oauth (test_auth.AuthEnvironmentTests.test_api_has_private_home_and_never_uses_oauth) ... ok
test_api_without_key_fails_despite_available_oauth (test_auth.AuthEnvironmentTests.test_api_without_key_fails_despite_available_oauth) ... ok
test_blank_api_key_is_rejected (test_auth.AuthEnvironmentTests.test_blank_api_key_is_rejected) ... ok
test_blank_oauth_token_is_not_a_reason_to_use_api (test_auth.AuthEnvironmentTests.test_blank_oauth_token_is_not_a_reason_to_use_api) ... ok
test_invalid_mode_is_never_inferred_from_available_credentials (test_auth.AuthEnvironmentTests.test_invalid_mode_is_never_inferred_from_available_credentials) ... ok
test_network_proxy_is_preserved_but_provider_routing_is_not (test_auth.AuthEnvironmentTests.test_network_proxy_is_preserved_but_provider_routing_is_not) ... ok
test_relative_config_directory_fails_instead_of_changing_login_context (test_auth.AuthEnvironmentTests.test_relative_config_directory_fails_instead_of_changing_login_context) ... ok
test_saved_login_keeps_custom_claude_config_directory (test_auth.AuthEnvironmentTests.test_saved_login_keeps_custom_claude_config_directory) ... ok
test_subscription_keeps_login_home_and_drops_api_routes (test_auth.AuthEnvironmentTests.test_subscription_keeps_login_home_and_drops_api_routes) ... ok
test_token_subscription_uses_private_home_and_no_saved_login (test_auth.AuthEnvironmentTests.test_token_subscription_uses_private_home_and_no_saved_login) ... ok
test_ai_cli_requires_explicit_auth (test_auth.AuthOptionsTests.test_ai_cli_requires_explicit_auth) ... ok
test_api_default_budget_and_bounds (test_auth.AuthOptionsTests.test_api_default_budget_and_bounds) ... ok
test_api_launch_keeps_bare_and_budget (test_auth.AuthOptionsTests.test_api_launch_keeps_bare_and_budget) ... ok
test_auth_check_command_exists_without_code_upload (test_auth.AuthOptionsTests.test_auth_check_command_exists_without_code_upload) ... ok
test_both_auth_modes_are_public_cli_choices (test_auth.AuthOptionsTests.test_both_auth_modes_are_public_cli_choices) ... ok
test_invalid_turns_and_timeouts_fail_before_invoking_cli (test_auth.AuthOptionsTests.test_invalid_turns_and_timeouts_fail_before_invoking_cli) ... ok
test_scan_ai_needs_auth_before_scanning (test_auth.AuthOptionsTests.test_scan_ai_needs_auth_before_scanning) ... ok
test_scan_rejects_dollar_budget_in_subscription_mode_before_scan (test_auth.AuthOptionsTests.test_scan_rejects_dollar_budget_in_subscription_mode_before_scan) ... ok
test_subscription_has_no_dollar_budget (test_auth.AuthOptionsTests.test_subscription_has_no_dollar_budget) ... ok
test_subscription_launch_uses_safe_mode_not_bare (test_auth.AuthOptionsTests.test_subscription_launch_uses_safe_mode_not_bare) ... ok
test_auth_failure_stops_without_model_call_or_token_echo (test_auth.AuthPreflightTests.test_auth_failure_stops_without_model_call_or_token_echo) ... ok
test_hidden_supported_flags_are_not_rejected_by_help_text (test_auth.AuthPreflightTests.test_hidden_supported_flags_are_not_rejected_by_help_text) ... ok
test_preflight_checks_version_features_and_auth_without_model_or_pii (test_auth.AuthPreflightTests.test_preflight_checks_version_features_and_auth_without_model_or_pii) ... ok
test_rejected_safe_mode_fails_without_downgrade (test_auth.AuthPreflightTests.test_rejected_safe_mode_fails_without_downgrade) ... ok

----------------------------------------------------------------------
Ran 33 tests in 0.033s

OK
