jroachgolf84 commented on code in PR #63210:
URL: https://github.com/apache/airflow/pull/63210#discussion_r2943252081


##########
providers/common/sql/tests/unit/common/sql/operators/test_sql.py:
##########
@@ -605,6 +605,21 @@ def test_sql_check_partition_clause_templating(self, 
conn_id):
         finally:
             hook.run(["DROP TABLE employees"])
 
+    def test_sql_check_accept_none_true(self, monkeypatch):
+        """Validate that empty table does not fail when accept_none=True."""
+        records = []
+        operator = self._construct_operator(monkeypatch, self.checks, records)
+        operator.accept_none = True
+        operator.execute(context=MagicMock())

Review Comment:
   I'll throw additional tests in there. Thanks!



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