eladkal edited a comment on issue #5515:  [AIRFLOW-4879] add poll_interval and 
schema to PrestoHook
URL: https://github.com/apache/airflow/pull/5515#issuecomment-512635357
 
 
   @mik-Iaj I'm aware yet I'm not sure how to fix this.
   The test is very similar to the postgres test 
https://github.com/apache/airflow/blob/master/tests/hooks/test_postgres_hook.py#L46
   
   can you give some pointers to why
   `@mock.patch('airflow.hooks.postgres_hook.psycopg2.connect') `
   works but
   ` @mock.patch('airflow.hooks.presto_hook.pyhive.presto.connect')`
   fails on `No module named 'airflow.hooks.presto_hook.pyhive';`

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


With regards,
Apache Git Services

Reply via email to