monkeypatch setenv value persist accross test casess in python unittest

前端 未结 0 678
失恋的感觉
失恋的感觉 2020-12-21 17:48

I have to set different environment variables for my test cases.

My assumption was once the test case is completed, monkeypatch will revmove the env variables from os

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