Shahzeb-Ali-Web-Developer opened a new pull request, #74424: URL: https://github.com/apache/airflow/pull/74424
Adds the two missing test modules for the `cncf.kubernetes` provider requested in the issue, and removes both entries from the `OVERLOOKED_TESTS` allowlist in `test_project_structure.py`: - `test_python_kubernetes_script.py` — covers `remove_task_decorator` (plain, parametrized, and nested-parentheses decorators; `@setup`/`@teardown` removal; unchanged output when the decorator is absent) and `write_python_script` (template rendering, `NativeEnvironment` selection via `render_template_as_native_obj`, `StrictUndefined` raising on missing context variables). - `utils/test_delete_from.py` — covers API class derivation from `apiVersion` (core group, named group, `.k8s.io` stripping, DNS-subdomain conversion), CamelCase-to-snake_case kind conversion, namespaced vs cluster-scoped dispatch, document-metadata namespace precedence, `List` kind fan-out, `ApiException` collection into `FailToDeleteError`, and `FailToDeleteError.__str__` formatting. All driven with mocked `kubernetes.client` APIs; no cluster required. Verified locally: 22 tests pass, `ruff format`/`ruff check` clean. closes: #72265 --- ##### Was generative AI tooling used to co-author this PR? - [X] Yes — Muse (Meta) Generated-by: Muse (Meta) 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]
