Bowrna commented on pull request #21145:
URL: https://github.com/apache/airflow/pull/21145#issuecomment-1042764288


   > finally looking at it now - sorry for some delays in responding.
   > 
   > > @potiuk I am currently working on writing tests and there are many 
functions that execute the docker command via subprocess. How can we add tests 
for these functions?
   > 
   > The best way is to mock the execution of the run_command function and 
check if the right command is executed. Give me an hours - I will revfew the 
code and add some example test
   
   Sure @potiuk Thank you so much


-- 
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-unsubscr...@airflow.apache.org

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


Reply via email to