ellisms commented on code in PR #38287:
URL: https://github.com/apache/airflow/pull/38287#discussion_r1609193496


##########
tests/providers/amazon/aws/operators/test_neptune.py:
##########
@@ -100,11 +102,113 @@ def test_start_cluster_cluster_available(self, 
mock_waiter, mock_get_cluster_sta
         mock_waiter.assert_not_called()
         assert resp == {"db_cluster_id": CLUSTER_ID}
 
+    @mock.patch.object(NeptuneHook, "conn")
+    def test_start_cluster_deferrable(self, mock_conn):
+        operator = NeptuneStartDbClusterOperator(
+            task_id="task_test",
+            db_cluster_id=CLUSTER_ID,
+            deferrable=True,
+            wait_for_completion=False,
+            aws_conn_id="aws_default",
+        )
+
+        with pytest.raises(TaskDeferred):

Review Comment:
   I tested this and it seems the message is empty. is it being used anywhere 
else? I searched and didn't find any occurrences.  



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