uranusjr commented on code in PR #59711:
URL: https://github.com/apache/airflow/pull/59711#discussion_r2650522048
##########
airflow-core/tests/unit/api_fastapi/execution_api/versions/head/test_task_instances.py:
##########
@@ -579,8 +581,10 @@ def test_next_kwargs_still_encoded(self, client, session,
create_task_instance,
)
ti.next_method = "execute_complete"
- # ti.next_kwargs under the hood applies the serde encoding for us
- ti.next_kwargs = {"moment": instant}
+ # explicitly serialize using serde before assigning since we use
JSON/JSONB now
+ # this value comes serde serialized from the worker
+ expected_next_kwargs = serialize({"moment": instant})
Review Comment:
Same for most other tests that use `serialize`
--
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]