diff --git a/tests/gui_test.py b/tests/gui_test.py index 465d2e04..9ccb36bd 100644 --- a/tests/gui_test.py +++ b/tests/gui_test.py @@ -455,7 +455,7 @@ class TestRecordingTranscriberWidget: assert 'Welcome to Passe' in widget.text_box.toPlainText() -@pytest.mark.xfail(condition=platform.system() == 'Darwin') +@pytest.mark.skipif(condition=platform.system() == 'Darwin', reason='Crashing on Qt pytest-qt wait functions.') class TestHuggingFaceSearchLineEdit: def test_should_update_selected_model_on_type(self, qtbot: QtBot): widget = HuggingFaceSearchLineEdit(network_access_manager=self.network_access_manager()) diff --git a/tests/recording_test.py b/tests/recording_test.py index 5286f858..46419c4f 100644 --- a/tests/recording_test.py +++ b/tests/recording_test.py @@ -1,9 +1,13 @@ +import platform from unittest.mock import Mock, patch +import pytest + from buzz.recording import RecordingAmplitudeListener from tests.mock_sounddevice import MockInputStream +@pytest.mark.skipif(condition=platform.system() == 'Darwin', reason='Seems to be crashing on audio mock') class TestRecordingAmplitudeListener: def test_should_emit_amplitude_changed(self, qtbot): listener = RecordingAmplitudeListener()