当前分类:django-testing

python - 在 Django 1.7 中测试抛出警告 : RemovedInDjango18Warning

python - Django教程错误: Setting up the test client

用于检查 header token 的 Django 自定义中间件。使用有效请求 header token 进行测试仍然失败

Django单元测试: 'or' assertEqual test possible?

python - 为 Django 测试添加请求 header 时出现问题

django - 在 Django test.py 文件中进行每次测试后,如何重新评估我的 urls.py 文件?

django-testing - 如何测试 Django 表单集提交

django - 在 Django 单元测试驱动程序中,如何测试电子邮件是否已发送?

Django 测试 - InternalError : current transaction is aborted, 命令被忽略,直到事务 block 结束

django 测试基于类的 View

python - 我如何模拟 Django 中的函数?

python - 如何使用 unittest.mock 调试补丁方法

使用工厂男孩时,Django 模型对象没有属性 '_default_manager'

Django 测试客户端模拟登录用户

django - TemplateView的get方法: object has no attribute 'request'

python - 如何单元测试 "new style"Django 中间件

Django 测试 : type object has no attribute 'objects'

django - 在 Django 模型中测试 'class Meta'

Django 测试客户端发布数据

python - 无法在 Django 3 中导入测试模块

热门标签: