python - 即使我在 Windows 10 上有文件 tests.py,也可以在 0.000 秒内运行 0 次测试
问题描述
我安装了我的应用程序
INSTALLED_APPS = [
...
"table_booker.apps.TableBookerConfig",
"django_nose",
]
我的 tests.py 文件
from django.test import TestCase
class AnimalTests(TestCase):
def test_name(self):
self.assertEqual(True, False)
当我尝试使用
python manage.py test
我在 0.000 秒内完成了 0 次测试
解决方案
推荐阅读
- php - 从 php mysql 查询中的变量获取表名
- android - 迁移 AndroidX 后,KitKat 上的应用程序崩溃
- sql - 使用统计函数的 SQL 别名不起作用
- spring-boot - 使用 Springboot PropertiesFactoryBean 的自动装配问题
- amazon-web-services - Boto3 S3 错误 - 调用 PutObjectAcl 时访问被拒绝
- google-cloud-platform - google.api_core.exceptions.PermissionDenied: 403 调用者没有权限
- html - 在 HTML 中移动选取框/下移文本
- python - 如何在 python 3 中创建一个循环,当您输入正确的单词/数字时停止
- php - 警告:mail():无法在“localhost”端口 25 连接到邮件服务器
- bitbucket - 一个文件夹未上传到 bitbucket