Setting a property into request in Django test client

前端 未结 0 1241
野的像风
野的像风 2021-01-12 06:15

I have a middleware (tenant_schemas.BaseTenantMiddleware) that will inject tenant property into the request object. I can\'t use that middleware when unit testi

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