ashb commented on a change in pull request #9240:
URL: https://github.com/apache/airflow/pull/9240#discussion_r439364141



##########
File path: tests/executors/test_local_executor.py
##########
@@ -27,13 +28,23 @@ class TestLocalExecutor(unittest.TestCase):
 
     TEST_SUCCESS_COMMANDS = 5
 
-    def execution_parallelism(self, parallelism=0):
+    @mock.patch('airflow.executors.local_executor.subprocess.check_call')
+    def execution_parallelism(self, mock_check_call, parallelism=0):
+        success_command = ['airflow', 'tasks', 'run', 'true', 'some_parameter']
+        fail_command = ['airflow', 'tasks', 'run', 'false']

Review comment:
       Oh, I did it in Celery executor, but not Local.




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

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to