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


##########
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:
   @uranusjr GetVariable is a class not a fixture from comms.py, if we bulk 
update it, this test gets covered too. Although i guess we can handle it more 
generally?



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