ajitg25 commented on code in PR #44619:
URL: https://github.com/apache/airflow/pull/44619#discussion_r1871812094
##########
tests/api_fastapi/core_api/routes/public/test_dag_run.py:
##########
@@ -887,7 +887,7 @@ def test_patch_dag_run(self, test_client, dag_id, run_id,
patch_body, response_b
{"note": "new_note2", "state": "failed"},
200,
),
- ({"update_mask": ["note"]}, {}, {"state": "success", "note":
None}, 200),
+ ({"update_mask": ["note"]}, {}, {"state": "success", "note":
"test_note"}, 200),
Review Comment:
The test case will be this right
`({"update_mask": ["note"]}, {"note": None}, {"state": "success", "note":
None}, 200)
`
If the note is in `update_mask` and also the `body` then it will get updated
to `None`
--
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]