Fix failing main due to #18209  (#18215)
Fix failing main due to #18209  (#18215)

* Use mock in test_hooks mock import spec

* comment on mock

Co-authored-by: Braden McKallagat <842e245d5a5ff7b87405e767c2a3f73d75efa1ef@gmail.com>
apache/airflow,bolkedebruin/airflow,apache/incubator-airflow,mistercrunch/airflow,bolkedebruin/airflow,nathanielvarona/airflow,Acehaidrey/incubator-airflow,lyft/incubator-airflow,danielvdende/incubator-airflow,apache/airflow,mistercrunch/airflow,cfei18/incubator-airflow,apache/airflow,cfei18/incubator-airflow,apache/airflow,apache/airflow,Acehaidrey/incubator-airflow,danielvdende/incubator-airflow,Acehaidrey/incubator-airflow,Acehaidrey/incubator-airflow,lyft/incubator-airflow,mistercrunch/airflow,lyft/incubator-airflow,nathanielvarona/airflow,cfei18/incubator-airflow,lyft/incubator-airflow,nathanielvarona/airflow,danielvdende/incubator-airflow,cfei18/incubator-airflow,danielvdende/incubator-airflow,bolkedebruin/airflow,bolkedebruin/airflow,Acehaidrey/incubator-airflow,mistercrunch/airflow,bolkedebruin/airflow,Acehaidrey/incubator-airflow,danielvdende/incubator-airflow,nathanielvarona/airflow,cfei18/incubator-airflow,apache/incubator-airflow,cfei18/incubator-airflow,danielvdende/incubator-airflow,apache/incubator-airflow,apache/airflow,apache/incubator-airflow,nathanielvarona/airflow,nathanielvarona/airflow