uranusjr commented on code in PR #23301:
URL: https://github.com/apache/airflow/pull/23301#discussion_r864380307


##########
tests/hooks/test_subprocess.py:
##########
@@ -96,3 +96,9 @@ def test_should_exec_subprocess(self, mock_popen, 
mock_temporary_directory):
             stderr=STDOUT,
             stdout=PIPE,
         )
+
+    def test_task_decode(self):
+        hook = SubprocessHook()
+        command=['bash', '-c', "source "+__file__[:-2]+'sh']
+        result = hook.run_command(command=command)
+        assert result.exit_code==0

Review Comment:
   What does this test?



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