fix(P1-1/P1-2): processor.py 补 logger 定义 + 测试文件导入路径同步到拆分后模块
CI/CD Pipeline / Validate Code Quality And Tests (pull_request) Failing after 6s
CI/CD Pipeline / Unit Tests (pull_request) Failing after 8s
CI/CD Pipeline / Integration Tests (pull_request) Failing after 19s
CI/CD Pipeline / Frontend Lint (pull_request) Failing after 1m41s
CI/CD Pipeline / Production Browser E2E (pull_request) Failing after 1554h22m7s
CI/CD Pipeline / Build Production Runtime Images (pull_request) Failing after 1554h22m9s
CI/CD Pipeline / Deploy Production (pull_request) Failing after 1554h22m8s
CI/CD Pipeline / Build & Push Staging (Watchtower auto-deploy) (pull_request) Failing after 1554h22m10s
CI/CD Pipeline / Staging API Integration Tests (pull_request) Failing after 1554h22m8s
CI/CD Pipeline / Staging E2E Tests (pull_request) Failing after 1554h53m44s
CI/CD Pipeline / Validate Code Quality And Tests (pull_request) Failing after 6s
CI/CD Pipeline / Unit Tests (pull_request) Failing after 8s
CI/CD Pipeline / Integration Tests (pull_request) Failing after 19s
CI/CD Pipeline / Frontend Lint (pull_request) Failing after 1m41s
CI/CD Pipeline / Production Browser E2E (pull_request) Failing after 1554h22m7s
CI/CD Pipeline / Build Production Runtime Images (pull_request) Failing after 1554h22m9s
CI/CD Pipeline / Deploy Production (pull_request) Failing after 1554h22m8s
CI/CD Pipeline / Build & Push Staging (Watchtower auto-deploy) (pull_request) Failing after 1554h22m10s
CI/CD Pipeline / Staging API Integration Tests (pull_request) Failing after 1554h22m8s
CI/CD Pipeline / Staging E2E Tests (pull_request) Failing after 1554h53m44s
P1-1: processor.py 使用了 logger 但未定义,补 import logging + getLogger
P1-2: test_unified_render_service.py 导入路径同步:
- 音频函数 (mix_audio/merge_audio_video/clip_has_audio/RenderContext) → render_audio
- 字幕函数 (_hex_to_ass_color/_position_to_ass_alignment/generate_ass_subtitles) → render_subtitles
- patch.object(svc, '_mix_audio') → patch('video_processing.unified_render_service.mix_audio')
- patch.object(svc, '_merge_audio_video') → patch('video_processing.unified_render_service.merge_audio_video')
- probe_has_audio/run_ffmpeg patch 路径对齐到 render_audio 模块
全部 84 个测试通过。
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
视频处理核心类
|
||||
"""
|
||||
|
||||
import logging
|
||||
import os
|
||||
import tempfile
|
||||
from dataclasses import dataclass
|
||||
@@ -9,6 +10,8 @@ from typing import List
|
||||
|
||||
import ffmpeg
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
|
||||
@dataclass
|
||||
class VideoResult:
|
||||
|
||||
Reference in New Issue
Block a user