feat(test): 添加Celery和Redis集成测试脚本
添加两个测试脚本用于验证生产环境配置: 1. test_celery.py - 测试Celery任务执行和连接 2. test_redis_celery.py - 测试Redis连接和Celery集成 同时更新.gitignore以排除其他测试文件但保留这两个测试脚本
This commit is contained in:
4
.gitignore
vendored
4
.gitignore
vendored
@@ -90,5 +90,7 @@ supervisor.conf
|
||||
*.log
|
||||
|
||||
# 测试文件
|
||||
test*.py*
|
||||
test*.py
|
||||
*test.py
|
||||
!test_redis_celery.py
|
||||
!test_celery.py
|
||||
|
||||
Reference in New Issue
Block a user