阅读背景:

如何在单元测试期间在Django RequestFactory中设置消息传递和会话中间件

来源:互联网 

I have a function I need to test which takes a request as its argument. It is not exposed as a view by URL so I cannot test it with the test client.I have a function I need to test which takes a




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

分享到: