Taragolis commented on code in PR #35167: URL: https://github.com/apache/airflow/pull/35167#discussion_r1370941702
########## tests/api_connexion/schemas/test_task_instance_schema.py: ########## @@ -236,6 +236,22 @@ def test_success(self): } assert expected_result == result + def test_dry_run_is_optional(self): + data = self.current_input.copy() + data.pop("dry_run") + result = set_task_instance_state_form.load(self.current_input) + expected_result = { + "dry_run": True, + "execution_date": dt.datetime(2020, 1, 1, 0, 0, tzinfo=dt.timezone(dt.timedelta(0), "+0000")), + "include_downstream": True, + "include_future": True, + "include_past": True, + "include_upstream": True, + "new_state": "failed", + "task_id": "print_the_context", + } + assert expected_result == result + Review Comment: Extra spaces here, it should be removed for pass [Static Checks](https://github.com/apache/airflow/blob/main/STATIC_CODE_CHECKS.rst#static-code-checks) -- 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: commits-unsubscr...@airflow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org