alexkruc commented on code in PR #24895:
URL: https://github.com/apache/airflow/pull/24895#discussion_r915790942


##########
tests/providers/elasticsearch/hooks/test_elasticsearch.py:
##########
@@ -20,8 +20,10 @@
 import unittest
 from unittest import mock
 
+from elasticsearch import Elasticsearch
+
 from airflow.models import Connection
-from airflow.providers.elasticsearch.hooks.elasticsearch import 
ElasticsearchHook
+from airflow.providers.elasticsearch.hooks.elasticsearch import 
ElasticsearchHook, ElasticsearchPythonHook

Review Comment:
   Done- the old hook tests are now using the new name.
   I've also added a test that checks the generation of a DepracationWarning 
for `ElasticsearchHook` :) 



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

Reply via email to