kaxil commented on code in PR #23563:
URL: https://github.com/apache/airflow/pull/23563#discussion_r870254480


##########
tests/providers/amazon/aws/operators/test_redshift_cluster.py:
##########
@@ -127,3 +128,43 @@ def 
test_pause_cluster_not_called_when_cluster_is_not_available(self, mock_get_c
         )
         redshift_operator.execute(None)
         mock_get_conn.return_value.pause_cluster.assert_not_called()
+
+
+class TestDeleteClusterOperator:
+    def test_init(self):
+        redshift_operator = RedshiftDeleteClusterOperator(
+            task_id="task_test", cluster_identifier="test_cluster", 
aws_conn_id="aws_conn_test"
+        )
+        assert redshift_operator.task_id == "task_test"
+        assert redshift_operator.cluster_identifier == "test_cluster"

Review Comment:
   We don't need this test, doesn't add much value



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