SameerMesiah97 commented on code in PR #76145:
URL: https://github.com/apache/airflow/pull/76145#discussion_r4433283620
##########
airflow-ctl/tests/airflow_ctl/ctl/test_cli_config.py:
##########
@@ -1278,6 +1278,8 @@ def
test_create_command_without_required_option_is_rejected_by_parser(self, caps
("taskinstances", "get", "Get a task instance for a given Dag
run"),
("taskinstances", "get-dependencies", "Get unmet scheduler
dependencies for a task instance"),
("taskinstances", "state-store", "Manage the state store of a task
instance"),
+ ("tasks", "get", "Retrieve a task for a Dag by its ID and task
ID"),
+ ("tasks", "list", "List tasks for a Dag"),
Review Comment:
The CLI parsing coverage is quite bare. We could also cover argument parsing
for both commands including --version-number for get, --order-by for list, and
missing required arguments.
--
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]