How to mock a subprocess.check_call exception in python test

前端 未结 0 2003
傲寒
傲寒 2020-12-01 02:16

I am new to mocking in python

I wanted to mock an exception CalledProcessError coming out of subprocess.check_call, When the exception occurs I want to check if the r

相关标签:
回答
  • 消灭零回复
提交回复
热议问题