Lee-W commented on code in PR #46053:
URL: https://github.com/apache/airflow/pull/46053#discussion_r1942640798


##########
tests/www/test_utils.py:
##########
@@ -663,6 +664,147 @@ def test_filter_lte_none_value_apply(self):
         assert result_query_filter == self.mock_query
 
 
+class TestXComFilter:
+    def setup_method(self):
+        self.mock_datamodel = MagicMock()
+        self.mock_query = MagicMock(spec=Query)
+        self.mock_column_name = "test_column"
+
+    def test_xcom_filter_start_with_apply(self):
+        xcom_filter_query = utils.XComFilterStartsWith(

Review Comment:
   These test cases look alike. We could probably do similar refactoring.



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