From 4ab3825dbeb9a1670f2d9cd40161e13ceb6c69da Mon Sep 17 00:00:00 2001 From: Chidi Williams Date: Sat, 28 Oct 2023 18:11:12 +0100 Subject: [PATCH] Add pip installation --- tests/widgets/main_window_test.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/widgets/main_window_test.py b/tests/widgets/main_window_test.py index e05f0269d..6a3fa9666 100644 --- a/tests/widgets/main_window_test.py +++ b/tests/widgets/main_window_test.py @@ -59,10 +59,8 @@ def test_should_set_window_title_and_icon(self, qtbot): assert window.windowIcon().pixmap(QSize(64, 64)).isNull() is False window.close() - # @pytest.mark.skip(reason='Timing out or crashing') def test_should_run_transcription_task(self, qtbot: QtBot, tasks_cache): window = MainWindow(tasks_cache=tasks_cache) - qtbot.add_widget(window) self._start_new_transcription(window) @@ -79,6 +77,7 @@ def test_should_run_transcription_task(self, qtbot: QtBot, tasks_cache): table_widget.indexFromItem(table_widget.item(0, 1)) ) assert open_transcript_action.isEnabled() + window.close() # @pytest.mark.skip(reason='Timing out or crashing') def test_should_run_and_cancel_transcription_task(self, qtbot, tasks_cache):