How to test a python module that changes os state

前端 未结 0 1783
温柔的废话
温柔的废话 2020-12-30 20:31

I write a python module that access os ressources and can changes there state (e.g. firewall rules). So when I create a unittest for removing a rule from firewall, it only w

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