阅读背景:

如何测试Django测试用例中是否记录了某个日志消息?

来源:互联网 

I want to ensure that a certain condition in my code causes a log message to be written to the django log. How would I do this with the Django unit testing framework?I want to ensure that a certain condition in my




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: