Keep debug capture history for px and overview

This commit is contained in:
Your Name committed 2026-06-03 22:46:53 +08:00
1 parent ca7d64d54b
commit 0c77bf9e0e
5 files changed
+24 -48

No files matched your search

+3 -3
View File
@@ -169,7 +169,7 @@ def test_fudai_detail_debug_overview_supports_two_task_positions(tmp_path, monke
assert image.getpixel((363, 1413)) == (0, 0, 0)
def test_fudai_detail_debug_overview_cleans_old_detail_images(tmp_path, monkeypatch):
def test_fudai_detail_debug_overview_keeps_existing_detail_images(tmp_path, monkeypatch):
from douyin.core import path_config
from douyin.fudai.core import fudai_debug_utils
@@ -214,8 +214,8 @@ def test_fudai_detail_debug_overview_cleans_old_detail_images(tmp_path, monkeypa
)
assert result
assert not old_detail.exists()
assert not old_overview.exists()
assert old_detail.exists()
assert old_overview.exists()
assert unrelated.exists()