ashokballolli commented on code in PR #77069:
URL: https://github.com/apache/airflow/pull/77069#discussion_r4619333843
##########
providers/google/tests/unit/google/cloud/hooks/test_dataflow.py:
##########
@@ -1939,6 +1959,19 @@ async def test_list_jobs(self, initialize_client_mock,
hook, make_mock_awaitable
initialize_client_mock.assert_called_once()
client.list_jobs.assert_called_once_with(request=request)
+ @pytest.mark.asyncio
+ @mock.patch(DATAFLOW_STRING.format("AsyncDataflowHook.initialize_client"))
+ async def test_list_jobs_with_name(self, initialize_client_mock, hook):
Review Comment:
You are right, the separate test was not needed. I removed it, added `name`
as a parameter to `test_list_jobs`, and pushed the change.
--
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]