You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2022/01/13 06:54:47 UTC

[GitHub] [airflow] uranusjr commented on a change in pull request #20843: Fix flaky templatized call

uranusjr commented on a change in pull request #20843:
URL: https://github.com/apache/airflow/pull/20843#discussion_r783673639



##########
File path: tests/sensors/test_python.py
##########
@@ -85,7 +85,7 @@ def test_python_callable_arguments_are_templatized(self):
 
         ds_templated = DEFAULT_DATE.date().isoformat()
         # 2 calls: first: at start, second: before timeout
-        assert 2 == len(recorded_calls)
+        assert 1 <= len(recorded_calls)

Review comment:
       This seems to defeat the purpose of this assertion. Why is the second call not recorded?




-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org