jroachgolf84 commented on code in PR #63210:
URL: https://github.com/apache/airflow/pull/63210#discussion_r2943249620
##########
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
Review Comment:
This matches the pattern for the other unit-tests for this Operator!
--
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]