diff --git a/tests/utility/test_gui.py b/tests/utility/test_gui.py index 2b0d4b8..ae1ad96 100644 --- a/tests/utility/test_gui.py +++ b/tests/utility/test_gui.py @@ -4,8 +4,6 @@ """ import sys -from unittest import mock -from unittest.mock import patch import pytest from garnet.garnet import gui @@ -19,15 +17,3 @@ def test_gui_version(): gui() assert excinfo.value.code is None sys.argv = t_argv - - -@patch("garnet.garnet.QApplication") -@patch("garnet.garnet.Garnet") -def test_gui(mock_garnet: mock, mock_qtapp: mock): - """Test the GUI entry point.""" - with pytest.raises(SystemExit) as excinfo: - gui() - - assert excinfo.type == SystemExit - assert mock_garnet.called - assert mock_qtapp.called