Skip to content

Commit

Permalink
Update test suites.
Browse files Browse the repository at this point in the history
  • Loading branch information
zh-plus committed May 27, 2024
1 parent 66850c4 commit 079cec6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion tests/test_preprocess.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
1 change: 0 additions & 1 deletion tests/test_prompter.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
Original>
生き残る秘訣は、進化し続けることです。
Translation>
<summary></summary>
<scene></scene>'''

Expand Down

0 comments on commit 079cec6

Please sign in to comment.