from pathlib import Path from src.utils.paths import create_path_with_todays_date def test_create_path_with_todays_date(tmp_path): base = tmp_path / 'out' path = create_path_with_todays_date(str(base)) # Path should exist and include base p = Path(path) assert p.exists() assert str(p).startswith(str(base))