amoghrajesh commented on code in PR #44241:
URL: https://github.com/apache/airflow/pull/44241#discussion_r1856765328
##########
task_sdk/tests/execution_time/test_supervisor.py:
##########
@@ -297,7 +331,10 @@ def test_handle_requests(
generator.send(msg)
# Verify the correct client method was called
- mock_client_method.assert_called_once_with(method_arg)
+ mock_client_method.assert_called_once_with(*method_arg)
+ if mock_response == "":
+ # for task instance endpoints, there won't be any response
Review Comment:
Handled it as per the client logic
--
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]