* [FEATURE] Plex sanitized title and uid. Add into prebuilt preset * update fixtures, add fixture test * lint
11 lines
319 B
Python
11 lines
319 B
Python
import shutil
|
|
from pathlib import Path
|
|
|
|
REGENERATE_FIXTURES: bool = False
|
|
|
|
RESOURCE_PATH = Path("tests/resources")
|
|
_FILE_FIXTURE_PATH = RESOURCE_PATH / "file_fixtures"
|
|
|
|
|
|
def copy_file_fixture(fixture_name: str, output_file_path: str | Path) -> None:
|
|
shutil.copy(_FILE_FIXTURE_PATH / fixture_name, output_file_path)
|