mirror of
https://github.com/unshackle-dl/unshackle.git
synced 2026-11-29 04:15:09 +00:00
feat(config): add filename_replacements to replace text in output names
This commit is contained in:
@@ -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."""
|
||||
|
||||
Reference in New Issue
Block a user