dhkim1920 opened a new pull request, #70689: URL: https://github.com/apache/airflow/pull/70689
Add focused unit coverage for the Keycloak token request and response models. The tests cover password and client-credentials grant discrimination, validation failures, serialization, and delegation to the token service functions. The corresponding temporary exemption is removed from `OVERLOOKED_TESTS`. Testing: - `uv run --project providers/keycloak pytest providers/keycloak/tests/unit/keycloak/auth_manager/datamodels/test_token.py --cov=providers/keycloak/src/airflow/providers/keycloak/auth_manager/datamodels --cov-report=term-missing -xvs` - `uv run --project providers/keycloak pytest providers/keycloak/tests/unit/keycloak -xvs` - `uv run --project airflow-core pytest airflow-core/tests/unit/always/test_project_structure.py::TestProjectStructure::test_providers_modules_should_have_tests -xvs` - `prek run --from-ref upstream/main --stage pre-commit` - `prek run --from-ref upstream/main --stage manual` - `breeze --answer yes testing providers-tests --parallel-test-types "Providers[common.compat,keycloak]" --run-in-parallel` --- ##### Was generative AI tooling used to co-author this PR? - [X] Yes — Codex (GPT-5) Generated-by: Codex (GPT-5) following [the guidelines](https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#gen-ai-assisted-contributions) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
