Files
douyi_guaji_main/tests/test_screenshot_handler_paths.py
T

11 lines
294 B
Python

from __future__ import annotations
def test_save_step_screenshot_uses_path_config_pic_dir():
from pathlib import Path
src = Path("douyin/handlers/douyin_screenshot_handler.py").read_text(
encoding="utf-8", errors="replace"
)
assert "path_config.get_pic_dir()" in src