turbaszek commented on issue #9900: URL: https://github.com/apache/airflow/issues/9900#issuecomment-661762523
You should extend those tests: https://github.com/apache/airflow/blob/c8c52e69c8d9cc1f26f63d95aecc0a6498d40b6f/tests/providers/google/cloud/hooks/test_bigquery.py#L103-L115 with assuring that the `mock_client` was called with proper arguments. In this case with `project_id`. I think that we can change mocking to mock `get_client` instead of `Client`, that should make testing easier. ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected]
