style: auto-format with black + isort + prettier [skip ci-format-check]
CI/CD Pipeline / Check if frontend-only change (pull_request) Successful in 42s
CI/CD Pipeline / Validate - Migration (alembic) (pull_request) Successful in 1m5s
CI/CD Pipeline / Validate - Type Check (mypy) (pull_request) Successful in 1m24s
Preview Deploy / Deploy Preview Environment (pull_request) Successful in 1m21s
PR Automation / Auto Merge on CI Green + Approved (pull_request) Successful in 1m45s
CI/CD Pipeline / Unit Tests (pull_request) Successful in 1m54s
CI/CD Pipeline / PR Build API Image (pull_request) Successful in 2m23s
CI/CD Pipeline / PR Build Worker Image (pull_request) Successful in 2m23s
PR Automation / Auto Approve on CI Green (pull_request) Successful in 3m31s
CI/CD Pipeline / Validate - Code Quality (pull_request) Successful in 4m13s
CI/CD Pipeline / Integration Tests (pull_request) Successful in 1m28s
AI Code Review / AI Code Review (pull_request) Successful in 5m43s
CI/CD Pipeline / CI Gate (pull_request) Successful in 5s
Preview Cleanup / Cleanup Preview Environment (pull_request) Successful in 32s
ACR Cleanup / ACR Image Cleanup (pull_request_target) Successful in 45s
CI/CD Pipeline / Production Browser E2E (pull_request) Failing after 767h36m20s
CI/CD Pipeline / Deploy Production (pull_request) Failing after 767h36m21s
CI/CD Pipeline / Build Production Worker Image (pull_request) Failing after 767h36m22s
CI/CD Pipeline / Build Production API Image (pull_request) Failing after 767h36m22s
CI/CD Pipeline / PR Build Web Image (pull_request) Failing after 767h39m50s
CI/CD Pipeline / Frontend Lint (pull_request) Failing after 767h39m53s
CI/CD Pipeline / ACR Image Cleanup (pull_request) Failing after 767h40m29s
CI/CD Pipeline / Staging API Integration Tests (pull_request) Failing after 767h40m31s
CI/CD Pipeline / Deploy Staging (Watchtower auto-deploy) (pull_request) Failing after 767h40m33s
CI/CD Pipeline / Build Staging Worker Image (pull_request) Failing after 767h40m35s
CI/CD Pipeline / Build Staging API Image (pull_request) Failing after 767h40m35s
CI/CD Pipeline / Canary Release to Production (pull_request) Failing after 768h9m51s
CI/CD Pipeline / Build Production Web Image (pull_request) Failing after 768h9m53s
CI/CD Pipeline / Frontend Unit Tests (pull_request) Failing after 768h13m23s
CI/CD Pipeline / Staging E2E Tests (pull_request) Failing after 768h14m2s
CI/CD Pipeline / Build Staging Web Image (pull_request) Failing after 768h14m6s

This commit is contained in:
CI Bot
2026-08-15 07:46:06 +00:00
parent 1a2f34e508
commit d48d652465
+12 -6
View File
@@ -73,9 +73,12 @@ class TestOverlayTitleOnCoverImage:
mock_storage_svc.return_value = mock_storage
# Need to mock Path operations
with patch("pathlib.Path.exists", return_value=True), patch(
"pathlib.Path.stat"
) as mock_stat, patch("pathlib.Path.mkdir"), patch("pathlib.Path.unlink"):
with (
patch("pathlib.Path.exists", return_value=True),
patch("pathlib.Path.stat") as mock_stat,
patch("pathlib.Path.mkdir"),
patch("pathlib.Path.unlink"),
):
mock_stat.return_value.st_size = 1000
result = _overlay_title_on_cover_image(
@@ -124,9 +127,12 @@ class TestOverlayTitleOnCoverImage:
mock_result.stderr = b"ffmpeg error"
mock_subprocess_run.return_value = mock_result
with patch("pathlib.Path.exists", return_value=True), patch(
"pathlib.Path.stat"
) as mock_stat, patch("pathlib.Path.mkdir"), patch("pathlib.Path.unlink"):
with (
patch("pathlib.Path.exists", return_value=True),
patch("pathlib.Path.stat") as mock_stat,
patch("pathlib.Path.mkdir"),
patch("pathlib.Path.unlink"),
):
mock_stat.return_value.st_size = 1000
result = _overlay_title_on_cover_image(