$ /Users/king/AI/stable-audio-3/optimized/mlx/.venv/bin/python -m unittest discover -s tools/audio -p test_*.py # cwd /Users/king/Desktop/Workspace/SRO/zoen # exit 1 Eusage: python -m unittest [-h] --prompt PROMPT --seconds SECONDS --out OUT [--takes TAKES] [--play] [--negative-prompt NEGATIVE_PROMPT] [--seed SEED] [--format {wav,mp3}] [--overwrite] [--loop] [--normalize] python -m unittest: error: --seconds must be finite, at least two samples, and at most 120 usage: python -m unittest [-h] --prompt PROMPT --seconds SECONDS --out OUT [--takes TAKES] [--play] [--negative-prompt NEGATIVE_PROMPT] [--seed SEED] [--format {wav,mp3}] [--overwrite] [--loop] [--normalize] python -m unittest: error: --seconds must be finite, at least two samples, and at most 120 usage: python -m unittest [-h] --prompt PROMPT --seconds SECONDS --out OUT [--takes TAKES] [--play] [--negative-prompt NEGATIVE_PROMPT] [--seed SEED] [--format {wav,mp3}] [--overwrite] [--loop] [--normalize] python -m unittest: error: --seconds must be finite, at least two samples, and at most 120 usage: python -m unittest [-h] --prompt PROMPT --seconds SECONDS --out OUT [--takes TAKES] [--play] [--negative-prompt NEGATIVE_PROMPT] [--seed SEED] [--format {wav,mp3}] [--overwrite] [--loop] [--normalize] python -m unittest: error: --seconds must be finite, at least two samples, and at most 120 usage: python -m unittest [-h] --prompt PROMPT --seconds SECONDS --out OUT [--takes TAKES] [--play] [--negative-prompt NEGATIVE_PROMPT] [--seed SEED] [--format {wav,mp3}] [--overwrite] [--loop] [--normalize] python -m unittest: error: --seconds must be finite, at least two samples, and at most 120 usage: python -m unittest [-h] --prompt PROMPT --seconds SECONDS --out OUT [--takes TAKES] [--play] [--negative-prompt NEGATIVE_PROMPT] [--seed SEED] [--format {wav,mp3}] [--overwrite] [--loop] [--normalize] python -m unittest: error: --takes must be a positive integer .EEE........E...... ====================================================================== ERROR: test_crossfade_needs_a_loop_and_must_be_sane (test_sfxgen.CliSafetyTests.test_crossfade_needs_a_loop_and_must_be_sane) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/king/Desktop/Workspace/SRO/zoen/tools/audio/test_sfxgen.py", line 259, in test_crossfade_needs_a_loop_and_must_be_sane self.assertIsNone(self.cli.parse_args(base).crossfade) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'Namespace' object has no attribute 'crossfade' ====================================================================== ERROR: test_missing_music_bundle_names_the_exact_install_command (test_sfxgen.CliSafetyTests.test_missing_music_bundle_names_the_exact_install_command) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/king/Desktop/Workspace/SRO/zoen/tools/audio/test_sfxgen.py", line 230, in test_missing_music_bundle_names_the_exact_install_command for name in self.cli.model_files("sm-sfx"): ^^^^^^^^^^^^^^^^^^^^ AttributeError: module 'sfxgen' has no attribute 'model_files' ====================================================================== ERROR: test_model_files_follow_the_selected_dit (test_sfxgen.CliSafetyTests.test_model_files_follow_the_selected_dit) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/king/Desktop/Workspace/SRO/zoen/tools/audio/test_sfxgen.py", line 213, in test_model_files_follow_the_selected_dit sfx = self.cli.model_files("sm-sfx") ^^^^^^^^^^^^^^^^^^^^ AttributeError: module 'sfxgen' has no attribute 'model_files' ====================================================================== ERROR: test_model_option_selects_the_dit_and_defaults_to_sfx (test_sfxgen.CliSafetyTests.test_model_option_selects_the_dit_and_defaults_to_sfx) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/king/Desktop/Workspace/SRO/zoen/tools/audio/test_sfxgen.py", line 205, in test_model_option_selects_the_dit_and_defaults_to_sfx self.assertEqual(self.cli.parse_args(base).model, "sm-sfx") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'Namespace' object has no attribute 'model' ====================================================================== ERROR: test_loop_crossfade_length_is_configurable_for_music (test_sfxgen.ProcessingTests.test_loop_crossfade_length_is_configurable_for_music) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/king/Desktop/Workspace/SRO/zoen/tools/audio/test_sfxgen.py", line 92, in test_loop_crossfade_length_is_configurable_for_music y = self.fx.process_audio(x, 1000, 5, loop=True, crossfade=0.5) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: process_audio() got an unexpected keyword argument 'crossfade' ---------------------------------------------------------------------- Ran 20 tests in 0.444s FAILED (errors=5)