阅读背景:

使用Django factory_boy进行测试时的用户身份验证

来源:互联网 

When trying to unit test some part of my code, I need a user to be logged in. For reducing the number of fixtures I am using django_factory_boy User factory but the User generated is unable to authenticate.When trying to unit test some part of my code,




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

分享到: