ferruzzi commented on a change in pull request #20732:
URL: https://github.com/apache/airflow/pull/20732#discussion_r780425530



##########
File path: airflow/contrib/operators/aws_sqs_publish_operator.py
##########
@@ -19,10 +19,26 @@
 
 import warnings
 
-from airflow.providers.amazon.aws.operators.sqs import SQSPublishOperator  # 
noqa
+from airflow.providers.amazon.aws.operators.sqs import SqsPublishOperator
 
 warnings.warn(
     "This module is deprecated. Please use 
`airflow.providers.amazon.aws.operators.sqs`.",
     DeprecationWarning,
     stacklevel=2,
 )

Review comment:
       Do we still need/want this here if we have it in the class init now as 
well?

##########
File path: tests/providers/amazon/aws/hooks/test_sqs.py
##########
@@ -28,8 +28,8 @@
 
 
 @unittest.skipIf(mock_sqs is None, 'moto sqs package missing')
-class TestAwsSQSHook(unittest.TestCase):
+class TestAwsSqsHook(unittest.TestCase):

Review comment:
       Should this be changed to `TestSqsHook`?




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