kawacukennedy opened a new pull request, #74758:
URL: https://github.com/apache/airflow/pull/74758
Add dedicated unit tests for the Google Cloud `links` modules that were still
exempted in `OVERLOOKED_TESTS`
(`airflow-core/tests/unit/always/test_project_structure.py`)
and drop the now-satisfied allowlist entries (64 -> 45). Test-only change: no
production code is modified.
Each new file mirrors the existing
`providers/google/tests/unit/google/cloud/links/test_alloy_db.py` pattern and
asserts the `name`, `key` and `format_str` of every link class in the module.
Modules covered (19): bigquery_dts, bigtable, cloud_build, cloud_functions,
cloud_memorystore, cloud_sql, compute, data_loss_prevention, dataflow,
dataform,
datafusion, dataprep, dataproc, datastore, kubernetes_engine, pubsub,
spanner,
workflows, translate.
Notes:
- `BASE_LINK` is computed at import time, so links built from it assert
against
`BASE_LINK + "..."` (same as `test_bigquery.py`).
- `dataproc.py`'s two deprecated custom links (`DataprocLink`,
`DataprocListLink`)
are covered with attribute assertions; their `get_link` behaviour can
follow up.
##### Was generative AI tooling used to co-author this PR?
- [X] Yes (please specify the tool below)
Generated-by: opencode 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]