amoghrajesh commented on code in PR #50775:
URL: https://github.com/apache/airflow/pull/50775#discussion_r2099569966


##########
task-sdk/tests/task_sdk/execution_time/test_supervisor.py:
##########
@@ -1524,6 +1526,11 @@ def test_handle_requests(
         next(generator)
         msg = message.model_dump_json().encode() + b"\n"
         generator.send(msg)
+
+        if isinstance(message, GetVariable):
+            mock_mask_secret.assert_called_once()
+            mock_mask_secret.assert_called_with("test_value", "test_key")

Review Comment:
   Yeah let me simplify this further.



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