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