feat(config): add filename_replacements to replace text in output names

This commit is contained in:
imSp4rky
2026-11-28 15:03:01 -07:00
parent 127e8e0dcc
commit 418d69b1ec
9 changed files with 115 additions and 10 deletions
+6
View File
@@ -70,6 +70,12 @@ def default_codec_names(monkeypatch: pytest.MonkeyPatch) -> None:
monkeypatch.setattr(config, "codec_names", {})
@pytest.fixture(autouse=True)
def no_filename_replacements(monkeypatch: pytest.MonkeyPatch) -> None:
"""Keep names as sanitize_filename makes them, whatever filename_replacements the local unshackle.yaml sets."""
monkeypatch.setattr(config, "filename_replacements", {})
@pytest.fixture(autouse=True)
def no_speed_limit(monkeypatch: pytest.MonkeyPatch) -> None:
"""Start with no speed limit, so a limit that an earlier test locked cannot block a later one."""