@mock.patch('airflow.providers.google.cloud.hooks.bigquery.BigQueryHook.get_service')
def test_run_query_without_sql_fails(self, _):
    with pytest.raises(TypeError, match='`BigQueryBaseCursor.run_query` missing 1 required positional argument: `sql`'):
        self.hook.run_query(sql=None)
@mock.patch('airflow.providers.google.cloud.hooks.bigquery.BigQueryHook.get_service')
def test_run_query_without_sql_fails(self, _):
    with pytest.raises(TypeError, match='`BigQueryBaseCursor.run_query` missing 1 required positional argument: `sql`'):
        self.hook.run_query(sql=None)