kaxil commented on code in PR #65222:
URL: https://github.com/apache/airflow/pull/65222#discussion_r3103674056


##########
airflow-core/tests/unit/serialization/test_helpers.py:
##########
@@ -29,3 +29,32 @@ def 
test_serialize_template_field_with_very_small_max_length(monkeypatch):
     # This ensures users always see why content is truncated
     assert result
     assert "Truncated. You can change this behaviour" in result
+
+
+def test_serialize_template_field_with_notset():
+    """NOTSET must serialize deterministically via serialize(), not str() 
fallback."""
+    from airflow.serialization.definitions.notset import NOTSET
+    from airflow.serialization.helpers import serialize_template_field

Review Comment:
   Yes plz



-- 
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]

Reply via email to