mirror of
https://github.com/chidiwilliams/buzz.git
synced 2026-03-14 14:45:46 +01:00
Fix for macOS 13 test (#876)
This commit is contained in:
parent
62eb2096f6
commit
218b16cbad
1 changed files with 4 additions and 1 deletions
|
|
@ -79,7 +79,10 @@ class TestRecordingTranscriberWidget:
|
|||
return_value=16_000),
|
||||
patch(
|
||||
'buzz.settings.settings.Settings.get_default_export_file_template',
|
||||
return_value='mock-export-file')):
|
||||
return_value='mock-export-file'),
|
||||
patch("sounddevice.query_devices", side_effect=MockSoundDevice().query_devices),
|
||||
patch("sounddevice.check_input_settings", side_effect=MockSoundDevice().check_input_settings),
|
||||
patch("sounddevice.InputStream", side_effect=MockSoundDevice().InputStream)):
|
||||
|
||||
widget = RecordingTranscriberWidget(
|
||||
custom_sounddevice=MockSoundDevice()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue