diff --git a/tests/test_preprocess.py b/tests/test_preprocess.py index 710d048..ef87547 100644 --- a/tests/test_preprocess.py +++ b/tests/test_preprocess.py @@ -22,7 +22,7 @@ def tearDown(self) -> None: @patch('openlrc.preprocess.release_memory') def test_noise_suppression_returns_path_objects(self, mock_release_memory, mock_save_audio, mock_load_audio, mock_init_df, mock_enhance): - mock_enhance.return_value = torch.zeros((2, 600 * 16000)) + mock_enhance.return_value = torch.zeros((2, 300 * 16000)) mock_init_df.return_value = (Mock(), Mock(), Mock()) mock_info = Mock() diff --git a/tests/test_prompter.py b/tests/test_prompter.py index 94f4a4f..dc55b06 100644 --- a/tests/test_prompter.py +++ b/tests/test_prompter.py @@ -26,7 +26,6 @@ Original> 生き残る秘訣は、進化し続けることです。 Translation> - '''