diff options
| author | historia <historiavg@proton.me> | 2026-09-11 17:41:33 -0400 |
|---|---|---|
| committer | historia <historiavg@proton.me> | 2026-09-11 17:41:33 -0400 |
| commit | 077c82d9614328ff267632298da6c88009313337 (patch) | |
| tree | 412f9e2d60c320e0c014eda45e76e36205b526ed /lib/project/tests/test_config.py | |
| parent | 84dd2d068317998f6fb59400c534ef5be6b51b53 (diff) | |
| download | producer-077c82d9614328ff267632298da6c88009313337.tar.gz | |
fix: consistently rename to producer
Diffstat (limited to 'lib/project/tests/test_config.py')
| -rw-r--r-- | lib/project/tests/test_config.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/project/tests/test_config.py b/lib/project/tests/test_config.py index 8144fc8..d3321d5 100644 --- a/lib/project/tests/test_config.py +++ b/lib/project/tests/test_config.py @@ -2,9 +2,9 @@ from dataclasses import asdict, fields import pytest -from voiceforge.cli import main, parser, settings_for -from voiceforge.config import PROFILES, RANGES, Settings, resolve, toml -from voiceforge.pipeline import filters +from producer.cli import main, parser, settings_for +from producer.config import PROFILES, RANGES, Settings, resolve, toml +from producer.pipeline import filters @pytest.mark.parametrize("profile", PROFILES) @@ -97,9 +97,9 @@ def test_invalid_cli_configuration_fails_before_processing(monkeypatch, capsys): def unexpected(*args, **kwargs): pytest.fail("Invalid configuration must not reach processing or tool setup") - monkeypatch.setattr("voiceforge.cli.process", unexpected) - monkeypatch.setattr("voiceforge.cli.ensure_ffmpeg", unexpected) - monkeypatch.setattr("sys.argv", ["voiceforge", "process", "missing.wav", "--target-lufs", "0"]) + monkeypatch.setattr("producer.cli.process", unexpected) + monkeypatch.setattr("producer.cli.ensure_ffmpeg", unexpected) + monkeypatch.setattr("sys.argv", ["producer", "process", "missing.wav", "--target-lufs", "0"]) with pytest.raises(SystemExit) as error: main() assert error.value.code == 1 |
