steveahnahn opened a new pull request, #58701:
URL: https://github.com/apache/airflow/pull/58701
## Problem
Adds integration tests for airflowctl CLI commands. Currently, only 16 of
48 commands are tested.
## Solution
Added 31 new command tests (now 47 total):
- Config: +2 (`list`, `lint`)
- Connections: +6 (`get`, `update`, `test`, `import`, `delete` x2)
- Dags: +4 (`get`, `pause`, `unpause`, `update`)
- Dag Runs: +2 (`get`, `delete`)
- Pools: +7 (`get`, `update`, `import`, `export`, `delete` x2)
- Variables: +10 (`get`, `update`, `import`, `export`, `delete` x3)
Added 3 JSON fixture files for import command testing (connections, pools,
variables).
### Commands not included
1. inter-command dependencies: Commands like `backfill get/pause/unpause`
and `assets get-queued-events` need IDs from prior create operations
2. destructive operations: `dags delete`
3. state requirements: Asset queue commands require Dags with asset
dependencies to be in specific states
## Related Issues
- Closes: #58106
- Parent: #58103
- Related: #58105 (pre-commit hook will need an exclusion list for these
intentionally-skipped commands)
--
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]